Rules for Coding ALTSEQ [ HP RPG/XL Utilities-Part 1 XSORT ] MPE/iX 5.0 Documentation
HP RPG/XL Utilities-Part 1 XSORT
Rules for Coding ALTSEQ
1. Code ALTSEQ in the first six positions. This tells XSORT that
this is an ALTSEQ specification.
Click here to view figure.
2. Leave columns 7 and 8 blank.
Click here to view figure.
3. Enter the hexadecimal equivalent of the character you are taking
out of normal sequence in columns 9 and 10. (A standard collating
chart showing the hex equivalents of all ASCII characters appears
in Appendix C.)
Click here to view figure.
4. Enter in 11 and 12 the hexadecimal equivalent of the value
(position) the character specified in columns 9 and 10 is to have
in the new collating sequence.
Click here to view figure.
5. Enter as many such pairs as the number of characters you are
taking out of normal sequence.
Click here to view figure.
6. Leave no spaces between sets of hex numbers.
7. When you reach the end of a statement, continue on the next
specification line, following the rules above (1-6). Entries can
extend to column 80, although it is not necessary to fill an
entire line before continuing to a new line.
Click here to view figure.
8. Enter a double asterisk (**) in columns 1 and 2 of the
specification line. This indicates that you are finished with
your ALTSEQ statements.
Click here to view figure.
*MC=moved character, NV=new value
MPE/iX 5.0 Documentation