![]() |
SORT OPTION
Normally, the file list is sorted by name in ascending order. Another field can be specified as the sort criterium by utilising the SORT OPTION. The sort order (ascending/descending) can also be specified. Any identical items are then sorted by name in ascending order.
AGE | NAME [(o,l)] | SIZE | USER | NONE [, A | D ]
NAME [(o,l)] The file list is sorted according to the full file or element name (Standard). Specifying optional parameters (o,l), the names can be sorted on a portion of the file or element name. o specifies the offset, and l the length of the partial field. Standard: NAME(1,44).
Example: With PLAM libraries, specifying Sort Option NAME(3,40) will result in a sorted list whereby elements are sorted by name and then by type.
AGE The file list is sorted according to AGE, or DATE. The time of the last amendment of PLAM library elements is taken into account when sorting.
SIZE The file list is sorted on the contents of the first column (LASTP or ALLOC for files, SPACE for libraries).
USER If a USER OPTION is also specified when selecting files, the sorting is done on the value in the column specified in this option. If no USER OPTION is specified, this sort option has no effect.
NONE The file/element list is displayed unsorted.
A Ascending sort order (Standard).
D Descending sort order.
Note:
The SORT OPTION field is pre-filled with the standard sort sequence if it differs from NAME,A. The standard sort sequence can be set with the SO command (see page 18-), or via the SET mask. The contents of the SORT OPTION field is temporary, and is not saved. See also the SORT command on page 7- regarding dynamic resorting of the file list.