SORT command
The SORT command sorts the entries in the OLIST.
Syntax
Operands
- field_name
- The name of an OLIST field: COMMAND, DSNAME, MEMBER, CLASS, or VOLUME.
- order
- The order of sort:
- A
- Ascending: lowest to highest.
- D
- Descending: highest to lowest.
Usage notes
SORT is a main command only; it cannot be used as a line command.
The SORT command ignores a leading quote (or hyphen) in the item name.
Examples
SORT DSN
SORT MEMBER
SORT MEMBER D
SORT DSN D MEMBER A
SORT VOLUME
SORT class VOLUME