MPE/iX Commands Reference Manual (32650-90877)

176 Chapter5
Command List III
Commands DATA thru EXIT
This time ECHO is given the value of the variable a argument. Explicit dereferencing has
been specified and the dereferencing is done before ECHO is executed.
ECHO !a
hi there
Two exclamation points are resolved to one exclamation point by string substitution, and
MPE/iX is prohibited from making the value substitution (even number rule).
ECHO a
!a
Triple (or any odd number of) exclamation points treat the argument as !a, which resolves
to ! and !a, giving !hi there (odd number rule).
ECHO !a
!hi there
If you entered the following command line in a user command, you would see a message
when an error occurred:
IF CIERROR <> 0 THEN
ECHO ** A CIERROR OCCURRED!: (CIERR !CIERROR) **
The first instance of CIERROR has no dereferencing, and so ECHO treats it literally. The
second instance, !CIERROR, contains explicit dereferencing, and so MPE/iX substitutes a
value for the system variable CIERROR before the message is displayed to $STDLIST. So, for
example, if the program generated error 975, you would see this message:
** A CIERROR OCCURRED!: (CIERR 975) **
Related Information
Commands CALC, SET, SETVAR, COMMENT, TELL, WARN
Manuals Appendix A, "Predefined Variables in MPE/iX"
EDITOR
Starts the EDIT/3000 subsystem, which is used to create and manipulate ASCII text or
program files.
Syntax
EDITOR[
listfile
]
Parameters
listfile
Actual file designator of file to receive any output resulting from
EDIT/3000 LIST and XPLAIN commands when the OFFLINE option is
specified. It can be any ASCII output file. The formal file designator and
default is EDTLIST. If specified with no device parameter, default device is
LP.
You cannot backreference the formal file designator EDTLIST as an actual file designator in
the command parameter list. For further information, refer to the "Implicit FILE
Commands for Subsystems" discussion of the FILE command.