HP RPG/iX Utilities Reference Manual (30318-90006)

2- 161
DELE A Delete all lines in the file.
In the example, an error is produced when an attempt to delete nonexistent lines is made (1).A second
error occurs when ALL is misspelled (2). A third results from an unnecessary character entered following
last line (3).Finally, those lines copied to the end of SIMCAL in the COPY example above are deleted by a
legal command, and the results are displayed (4).
>
>
(1) >DELETE 200/300
Error 81: Range is empty.
(2) >D ALLL
^
Error 67: Syntax error on ALL option.
(3) >D F/LT
^
Error 71: Syntax error on Last.
(4) >D39/LAST
39 00011H
SIMCAL
40 00012FINPUT IP F 72 DISK
41 00013FOUTPUT O F 72 DISK
42 00014IINPUT AA 01 1 CA
43 00015I OR 02 1 CS
Delete completed.
>
EXIT
EXIT terminates execution of RISE.
Form
E[XIT] [N[OW]]
Parameter Explanation
N[OW] Exit immediately without keeping the work file and with safety prompts disabled. If you are
directly editing your file, using the FILE command, the EXIT command will close the file,
keeping your changes. If the file being edited is a copy of the original, initiated by the TEXT
or ADD commands, the EXIT command will not terminate RISE unless a KEEP command is
given to protect your recent changes. The NOW parameter allows you to EXIT immediately
and discards any changes you may have made to the file. If you choose not to use the "NOW"
parameter, RISE will return a message asking if it is all right to clear the work file upon ter-
mination. If you respond with "Y[ES]", it will clear the file and exit. If you respond with
"N[O]", it will cancel the command so that you can perform a KEEP first if you wish.