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

8- 96
Column 8 C means the full character--1 byte (8 bits)--will be used in the comparisons.
Cols 9-12 A 1 entered here indicates the position in the record where the factor 1 field begins.
Cols 13-16 2 entered here indicates the position in the record where the factor 1 field ends.
Cols 17-18 EQ means that, in the comparisons, factor 1 must equal factor 2.
Column 19 The C indicates that factor 2 is a constant, not a field.
Cols 20-27 WS is the factor 2 constant. Note that this is the same length--2 characters--as the factor 1
field.
Field Description Specifications (Second Record Section).
Column 6 F indicates that this is a field description line.
Column 7 N identifies this as a normal con trol field. D identifies this as a data field.
Column 8 C entered here means the full character--1 byte (8 bits)--will be used in the comparisons.
Cols 9-12 These entries identify the position in the input records where control and data fields begin.
Note that Customer Number, which is used as a control field, is entered here again as a data
field. Since control fields are being dropped from output records, they must be redefined as
data fields in order to be included as output.
Cols 13-16 Numbers entered in these columns identify the positions in the input records where the fields
end.
This is the output of the sort.
WS01111111100900003009VVV0000000CA031100018101234
WB11111111115999995505AAA5555555CA0150510181567895
WB11111111119999989109ZZZ9999999CA31202N0281901233
WS11111111119900012905ZZZ9999999CA011019028112345
WS12111111121900002109ZZZ9999999CA031111018123456
WB21111111128999998205XXX8888888TX0120210281234568
WB21111111124999994605DDD4444444CA0160610281678904
WB21111111120999990009XXX0000000CA21101N0281901232
WS21111111128900011805XXX8888888CA011028028123456
WS23111111132900001209XXX8888888CA031122018134567
WS31111111137900010705LLL7777777TX011037018134567
WB41111111149999999105ZZZ9999999CA0110110181123459
W841111111146999996405VVV6666666NV0140411181234570
WB41111111142999992809ZZZ2222222CA91808N0181890122
WB41111111148999988209ZZZ8888888CA41303N1281901234