A sort-stub is a string containing information that can be used to sort lines in report RPTSRC. Each record in the report RPTSRC contains a sort-stub (beginning in column 81). Information in the sort stub includes:
Rules can be sorted into groups to suit your conversion work plan, while keeping all the lines of a given rule together.
The following screen segment contains sort-stubs:
Figure 7 RPTSRC Input Rule Source Report Sort-Stubs
D001 C10ERR1 R0001 A0001 66 12 12 CLS CLS D101 MAIN
D001 C10ERR1 R0001 A0002 66 12 12 CLS CLS D101 MAIN
D001 C10ERR1 R0001 A0003 66 12 12 CLS CLS D101 MAIN
D001 C10ERR1 R0001 B0001 66 12 12 CLS CLS D101 MAIN
D001 C10ERR1 R0001 B0002 66 12 12 CLS CLS D101 MAIN
D001 C10ERR1 R0001 B0003 66 12 12 CLS CLS D101 MAIN
Note: When sorting report RPTSRC, the last four sort fields must be Dataset ID, Member name, Rule-sequence-number, and Line number (in that order). Including these sort fields in this way, ensures that each rule is sorted as a unit (meaning, title and text lines of each rule are kept together and in order).
Parent Topic |