HP RPG/iX Utilities Reference Manual (30318-90006)
2- 180
(3) >JOIN RPGDOC TO .1
.1 H*
.2 H* PROGRAM NAME:
.3 H*
.4 H* PROGRAMMER :
.5 H* DATE WRITTEN:
.6 H* PURPOSE :
.7 H*
(4) Join completed.
(5) >
(6) >LF/5
^
Error 112: Can't distinguish between LINe or LISt command.
(7) >L F/5
.1 H*
.2 H* PROGRAM NAME:
.3 H*
.4 H* PROGRAMMER :
.5 H* DATE WRITTEN:
.6 H* PURPOSE :
.7 H*
1 00011H
SIMCAL
2 00012FINPUT IP F 72 DISK
3 00013FOUTPUT O F 72 DISK
4 00014IINPUT AA 01 1 CA
(8) 5 00015I OR 02 1 CS
>
KEEP
KEEP saves the contents of the work file in a permanent file.
Form
K[EEP] [filename] [N[OW]] [U[NN]]
Parameter Explanation
filename Name of the permanent file where you wish to copy the work file.
N[OW] Execute the command immediately, disabling safety prompts and overwriting an old perma-
nent file with the same name if it exists. (Note: "filename" cannot be "N", "NO", "NOW", "U",
"UN", or "UNN". These letters are reserved for literal parameters in the command.)
U[NN] KEEP the file unnumbered (without the appended sequence numbers). If you omit "UNN",
the sequence numbers will be stored in columns 81-88 of the permanent file.
Purpose
The KEEP command saves the contents of the work file in a permanent file designated "filename". If
"filename" is omitted, the file will be kept under the current work file name which was designated
previously with the TEXT command. If "filename" does not exist, RISE will create that file.
If "filename" exists, RISE will not immediately overwrite the existing file unless you use the NOW
parameter. Instead, it will return a message informing you that "filename" already exists, and asking if
you wish to overwrite the existing permanent file. You respond with "Y" to replace "N[O]" to cancel the
KEEP command.