Sorting listed items
For panels that list LUOWs, destinations, origins, user IDs, other LUOWs, and log records, you can change the column that is used to sort the items in the list and the order (ascending or descending) of the items.
To sort the list, use any of the following methods:
- Sort pull-down menu
- SORT command
- Sort type List pop-up window
To use the Sort pull-down menu
Place the cursor on the Sort action in the action bar at the top of the panel and press Enter.The Sort pull-down menu is displayed:
Sort pull-down menu
_ 1. LUOW ID
2. Origin
3. Tran/LTERM
4. Userid
5. Log records
6. Time
7. Elapsed time
8. Note
9. Extended...Enter the choice that corresponds to the column that you want to use for the sort.If you enter a choice other than the last choice, the list is redisplayed and the items in the list are sorted by the selected column.
If you enter the last choice ( Extended...), the Sort type List pop-up window is displayed. For more information, see To use the Sort type List pop-up window.
To use the SORT command
Place the cursor in command area, and enter one of the following strings:
SORT
The Sort type List pop-up window is displayed. For more information, see To use the Sort type List pop-up window.
SORT colName order
For colName, specify the label of the column that you want to use for sorting the items.
For order, you can specify A (ascending A to Z) or D (descending Z to A) to indicate the order in which to sort the items. If you omit this parameter, the sort order is ascending.
The list is redisplayed and the items in the list are sorted by the specified column in the specified order.
To use the Sort type List pop-up window
Access the Sort type List pop-up window as described in To use the Sort pull-down menu or To use the SORT command.The following figure shows the Sort LUOW List pop-up window. Other types are similar.
Sort LUOW List pop-up window
Sort LUOW List
Command ===> __________________________________________
Enter sort criteria. Then press Enter.
More: +
Primary sort field: Secondary sort field:
1 1. LUOW ID _ 1. LUOW ID
2. Origin 2. Origin
3. Tran/LTERM 3. Tran/LTERM
4. Userid 4. Userid
5. Log Records 5. Log Records
6. Timestamp 6. Timestamp
7. Elapsed time 7. Elapsed time
8. Note 8. Note
9. Message text * 9. Message text *
Primary sort sequence: Secondary sort sequence:
1 1. Ascending 1 1. Ascending
2. Descending 2. Descending
* Sorting this field requires significant I/O.
Response might be delayed.
F1=Help F3=Exit F7=Up F8=Down F12=CancelEnter a choice in the Primary sort field and (optional) in the Secondary sort field.These fields control the columns that are used to sort the rows of the list. The choices that are displayed on this panel depend on the list that was being displayed when you entered the SORT command. Enter the number that corresponds to your choice. The following choices can be listed:
Choice
Sort the rows by
LUOW ID
LUOW identifier
Origin
Origin (source) name
Tran/LTERM
Transaction or LTERM (destination) name
Userid
User ID
Log Records
Log records
Timestamp
Date and time
Elapsed time
Elapsed time
Note
Data in the Note field
Type
Type of LUOW
Log code
Log code
Description
Description
Sequence number
Log sequence number
Attributes
Attributes
Message text
Message text
Sorting by this column requires significant I/O, and response might be delayed.
Enter a choice in the Primary sort sequence field and (optional) in the Secondary sort sequence field.These fields control the order of items in the list. Enter the number that corresponds to your choice:
Choice
Sort the rows by
1 (Ascending)
Ascending order (a field that starts with A comes before a field that starts with B)
2 (Descending)
Descending order (a field that starts with B comes before a field that starts with A)
- Press Enter.The panel from which you initiated the sort action is redisplayed. The list is sorted, first by the primary field and then by the secondary field, in the sequences that you specified.