HP 3000 Manuals

Sample ALTSEQ Statements [ HP RPG/XL Utilities-Part 1 XSORT ] MPE/iX 5.0 Documentation


HP RPG/XL Utilities-Part 1 XSORT

Sample ALTSEQ Statements 

   1.  If you wished to make blanks and zeros equal in your collating
       sequence you would enter the following:

                                ALTSEQ 2030

       Blank (20) is moved to the position occupied by zero (30).  Blanks
       and zeros are, therefore, considered equal.

   2.  If you wished to change the sequence of several characters you
       should do the following:

                                ALTSEQ 2A4545464647

         2A45 means * (2A) will occupy the position normally occupied by
         E (45).

         4546 means E (45) will occupy the position normally assigned to
         F (46).

         4647 means F (46) will occupy the position normally assigned to
         G (47).

       The collating sequence, from character ")" through "H", would be
       changed:

                                from:   )*+.....ABCDEFGH

                                                      F
                                to:     ) +.....ABCD*E H
                                                      G

       In this example, F and G would occupy the same position.



MPE/iX 5.0 Documentation