Sorting a CICS selection list
- Use "Dsn" for the Data set name field on the File selection list.
- Use "Resource" for the Resource name field on the Enqueue selection list.
The sort sequence is ascending for columns with character values, and descending for columns with numeric values. The SORT primary command is also invoked for a single column by placing the cursor on the column heading and pressing Enter.
Example 1. File Selection list
COMMAND ===> sort dsn type
File Data set name Type Sys
ACCTFIL FMN.CICS.ACCTFILE VSAM
ACCTNAM FMN.CICS.ACCTNAME KSDS
ACINUSE FMN.CICS.ACTINUSE PATH
Example 2. Temporary Storage Selection List
COMMAND ===> sort size queue
Queue Loc Items Size Max
FMT3 AUX 20 2560 128
FMTS AUX 10 1280 128
FMT1 AUX 10 1280 128
FMT2 AUX 10 1280 128
FMT4 AUX 10 1280 128
Example 3. Transient Data Selection List
COMMAND ===> sort Typ dsp
Queue Typ DDname Dsp
CXRF EXT DFHCXRF MOD
FMO1 EXT FMO1 SHR
FMO2 EXT FMO2 SHR
FMO3 EXT FMO3 SHR
FMO4 EXT FMO4 SHR
Example 4. Enqueue Selection List
COMMAND ===> sort task resource
Resource name (first 36 characters) Task
ENQUEUE2 0001177
ENQUEUE4 0001177
ENQUEUE1 0001176
ENQUEUE3 0001176
ENQUEUE5 0001176
Related topics