Download Print this page

HP 3000 Manual page 193

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

Advertisement

Parameter Explanation
Parameter option 1:[lb/le] [BY inc]
Renumbers the range "lb/le" by "inc". If the line range is omitted, the entire file will be renumbered. (As in
other commands, "ALL" may be used in place of "lb/le".) If "BY inc" is omitted, the default increment is
used.
Parameter option 2:BOTH [BY inc]
Renumbers both the editor sequence numbers and the RPG source line numbers (columns 1-5) by "inc".
Both will have the same value. The value of "inc" cannot be less than 1. Using this option you renumber
your entire file.
Parameter option 3:
Renumbers the RPG Source program line numbers (col. 1-5). If "BY inc" is omitted, the line numbers are
renumbered with the following bracketing values established for the record specification forms:
H starts at
10
F
6000
E
7000
L
8000
I
10000
C
30000
O
50000
If "BY inc" is specified, the source will be renumbered accordingly. Again, "inc" cannot be less than 1.
Parameter option 4:
The RPG source line numbers are renumbered to agree with the work file sequence numbers.
Parameter option 5:
The work file sequence numbers are renumbered to agree with the RPG source line numbers. If each line
number in the RPG source program is not in ascending order, the RENUM command will not renumber the
work file.
Purpose
The RENUM command renumbers sequence line numbers in the work file or line numbers in the RPG
source program (columns 1-5).
Execution mode: Line or Block
Control Y: Stops the listing of lines that are being renumbered; does not stop the renumbering.
Examples
The following are legal abbreviations which may be used with the RENUMber command and its
parameters:
R ALL
Renumber all sequence line numbers in the work file.
R BOTH BY 10
Renumber sequence line numbers and source line numbers
using an increment value of 10.
SO[URCE] [BY inc]
SO[URCE] W[ITH] SE[QUENCE]
SE[QUENCE] W[ITH] SO[URCE]
2- 195

Advertisement

loading