Download Print this page

HP 3000 Manual page 87

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

Advertisement

Column 6
The I identifies this as an include line. The input records matching the criteria specified by
this line will be used by the sort.
Column 7
Leaving this column blank indicates that this is the first line of an I (include) set of record
type lines. The * means a comment line. A identifies an AND line. It signifies that these spec-
ifications continue the definitions of the record type described in the last record type entry. O
entered here stands for OR. It means that these specifications define a different type of record
than the one on the previous line.
Column 8
A "C" here means a character is used in comparisons.
Cols 9-12
The numbers 15 and 64, entered twice here, indicate the position where the factor 1 field be-
gins.
Cols 13-16
The numbers 16 and 65 entered here indicate where the factor 1 field ends.
Cols 17-18
Factor 1 will be compared with factor 2, which is a constant in all cases here. EQ means you
want the two factors to be equal.
Column 19 The C identifies factor 2 as a constant.
Cols 20-23
The entries 01, 05, 01, and 09 are two-character constants. The zeros are entered here be-
cause the control fields are all two characters long, and constants must be the same size as
control fields. (You can leave the positions presently occupied by zeros blank. It is important,
however, to keep the entries right justified.)
Field Description Specifications.
Column 6
The F identifies this as a field description line.
Column 7
The N identifies it as a normal control field. O means opposite control field. F indicates that
one control field will be forced into position. In this case it will overlay the position in the
work record occupied by the previous control field--if the conditions of the force operations are
met.
Cols 9-12
The numbers entered in this column identify the starting position of a control field in a record.
Cols 13-16
These numbers identify the end position of a control field in a record. Note that 31, which is
a field that is only one position in length, is only entered once, at the end position.
Column 17 The 2 is the character that must be in this control field in order for a 3 (defined in column 18)
to be forced into the work record.
Column 18 The 3 is the character which will replace the control field in the work record if the control field
equals 2 (defined in column 17).
Since this is an Address-out sort, a hex dump of the output is provided.
SRTUT RECORD 0 (%0, #0)
00000: 0000 0002
SRTUT RECORD 1 (%1, #1)
00000: 0000 0001
SRTUT RECORD 2 (%2, #2)
00000: 0000 000B
8- 89

Advertisement

loading