MPE/iX Commands Reference Manual (32650-90877)

Chapter 5 177
Command List III
Commands DATA thru EXIT
Operation Notes
The EDITOR command starts the EDIT/3000 subsystem.
Use
This command may be issued from a session or job. It may not be used from a program
unless the user or the program has process handling (PH) capability. It may not be used
from BREAK. Pressing
Break suspends the execution of this command. Entering the
RESUME command continues the execution.
Example
To run EDIT/3000 during a session and specify a line printer (device class LP) as the list
device for offline output, enter:
FILE LISTFILE;DEV=LP
EDITOR *LISTFILE
Because the
listfile
is often a line printer, it is often defined with the FILE command
and backreferenced as in the preceding example.
Related Information
Commands BUILD, LISTF, LISTFILE, LISTEQ,FILE
Manuals EDIT/3000 Reference Manual
ELSE
Provides an alternate execution sequence within an IF statement. (Native Mode)
Syntax
ELSE
Parameters
None.
Operation Notes
The ELSE command is used only in conjunction with the IF and ELSEIF commands. The IF
command is used with the ENDIF command, and optionally with the ELSE command, to
control the execution of a job. The IF, ENDIF, and optional ELSE commands constitute an IF
block. A logical expression is evaluated, and if true, the IF block is executed; if false, the
ELSE block (if one exists) is executed.
Use
This command may be issued from a session, job, program, or in BREAK. Pressing
Break
has no effect on this command.
Example
The following job listing illustrates using the ELSE command: