HP RPG/iX Utilities Reference Manual (30318-90006)
2- 162
Purpose
The EXIT command terminates the execution of RISE, returning control to MPE.
Execution mode: Line or Block.
Examples
The following are legal abbreviations which may be used with the EXIT command and its parameters:
EXI NOW Exit immediately without the safety prompts.
E N Exit immediately without the safety prompts.
E Exit--safety prompts may be displayed on the screen.
In the example, a misspelling of EXIT causes an error message to be displayed (1). EXIT is then entered
correctly, and a safety prompt reminds the user that the KEEP command has not been entered and asks if
clearing the work file is acceptable. The user responds negatively to the prompt, and the command is
cancelled (2).
An unacceptable parameter--MAYBE--produces another error (3). An illegal special character is
introduced between EXIT and the NOW parameter, with another error resulting (4).Finally, EXIT NOW is
entered, and the command is completed with the execution message displayed (5). The colon is MPE's
prompt.
>
(1) >EXT
^
Error 15: Syntax error on EXIT command.
(2) >EXIT
KEEP not done, CLEAR current work file?NO
Exit cancelled.
(3) >EXIT MAYBE
^
Error 34: Only NOW parameter allowed with Exit command.
(4) >EXIT,NOW
^
Error 36: Ilegal special character
(5) >EXIT NOW
END OF PROGRAM
:
FILE
FILE allows you to edit a file directly.