SORT primary command
The SORT command changes the order of the data you are viewing. It can be used in Member selection panels.
SORT command in member selection panels
In member selection panels, the SORT primary command
sorts the displayed members by any two fields displayed on the member
list (apart from the line command field and Prompt field).
Valid sort fields are the column headings of the member list statistics fields.
Note: For CARMA directory lists, only name and lib columns are supported.
The following syntax for the SORT command applies to PDSs with formatted
records.
- NAME
- Sorted by member name.
- LIB
- Sorted by library directory number.
- ALIAS-OF
- Sorted by alias name.
- ALIAS
- Sorted by alias name.
- SIZE
- Sorted by number of statements in the members for members stored with ISPF statistics.
- CREATED
- Sorted by creation date.
- CRE
- Sorted by creation date.
- CHANGED
- Sorted by dates and times members were last changed.
- CHA
- Sorted by dates and times members were last changed.
- ID
- Sorted by user ID.
The following syntax for the SORT command applies to PDSs with unformatted
records (RECFM=U) such as load libraries.
- NAME
- Sorted by member name.
- LIB
- Sorted by library directory number.
- ALIAS-OF
- Sorted by alias name.
- ALIAS
- Sorted by alias name.
- SIZE
- Sorted by the hexadecimal value for the load module size.
- AC
- Sorted by authorization code.
- AM
- Sorted by AMODE binder value.
- RM
- Sorted by RMODE binder value.
- ATTRIBUTES
- Sorted by attribute values determined by binder.
- ATTR
- Sorted by attribute values determined by binder.
The following syntax for the SORT command applies to PANVALET members.
- LVL
- Sorted by member level.
- STAT
- Sorted by member status.
- USER
- Sorted by user code.
- ACCESSED
- Sorted by last access date.
- CHANGED
- Sorted by last changed date.
- SIZE
- Sorted by number of statements.
- BLKS
- Sorted by number of blocks.