Download Print this page

HP 3000 Manual page 192

Mpe/ix computer systems, rpg/xl utilities
Hide thumbs Also See for 3000:

Advertisement

with the formal file name of "RISELIST" and device class of "LP". Whenever the RPG form type in column
6 changes, the PRINT command will skip three lines to group together those lines which have the same
form type. This produces a more readable format for the source code. Because of this feature, the PRINT
command should only be used when you are working on RPG source code. If "RPGLIST" is specified, the
compilation listing produced by the VERIFY RPG command is printed instead of the work file. In this
case, the formal file name used is "RPGLIST".
Related Commands
The LIST command will also print your workfile offline on a line printer. It does not skip
3 lines when column 6 changes.
you may be editing, such as data or a document.
*Execution mode:
Examples
The following are legal abbreviations which may be used with the PRINT command and its parameters:
P FIRST/50
P ALL RPGLIST
PRI A R
P*-5/L
In the example, the TEXT command is used to copy SIMCAL into a work file. PRINT ALL is entered, and
an execution message appears on the screen when the command is executed (1). An error results when
PRINT is used with the RPGLIST paramater, and SIMCAL has not been previously compiled using the
VERIFY RPG command (2). Finally, an abbreviation of the PRINT command is shown to be legal by the
appearance of the execution message (3).
>T SIMCAL
Text completed.
(1)
>PRINT ALL
Print completed.
>P ALL RPGLIST
(2)
Error 64: There is no compilation listing to print.
>
>PRIN1/10
(3)
Print completed.
>
>
RENUM
RENUM renumbers sequence line numbers.
Form
R[ENUM]
2- 194
Thus, it is suitable for printing offline any type of text
Line or Block
Print a range of lines from the beginning to line 50.
Print the entire listing produced by the VERIFY RPG command.
Print the entire listing produced by the VERIFY RPG command.
Print a range of lines beginning five lines before the
current position of the record pointer and ending with
the last line in the file.
[lb/le]
[BYinc]
BOTH
[BYinc]
SO[URCE]
[BYinc]
SO[URCE]
W[ITH]
SE[QNUM]
W[ITH]
SE[QNUM]
SO[URCE]

Advertisement

loading