Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.117 SORT_LIST

Note
Note: Usage options


The SORT_LIST command is used to sort a list into a nominated sequence.

...

  • For the IBM i where each pointer is 16 bytes and the maximum block size is 16MB, only 1MB of entries can be sorted.

  • For 32-bit Windows system where a pointer is 4 bytes and it is theoretically possible to allocate a 1GB block of memory, the limit is much higher.

Refer to the 7.26 DEF_LIST command for further information of lists and list processing.

Also See

7.117.1 SORT_LIST Parameters

7.117.2 SORT_LIST Examples


No Format
                                                         Optional

  SORT_LIST ---- NAMED -------- *FIRST ------------------------->
                                name of list

                 BY_FIELDS ---- name of field --- *ASCEND ------|
                             |                    *DESCEND |
                             | expandable group expression |
                              -------- 100 maximum --------

...