You can sort display data by columns. You can select up
to nine columns for sorting.
About this task
A maximum of nine columns can be selected for sorting
at one time. Internal requirements may create a smaller maximum. A
message is issued if the maximum number of columns selected for sorting
is exceeded.
Note:CSORT and SORT are
synonymous.
Procedure
Type CSORT (or SORT)
in the option line on any display panel and press Enter.
The Define Sort Columns panel displays
as shown in the following figure:
The following fields appear on the Define Sort
Columns panel:
Column Function
Enables you to jump to any of the CSET functions by typing in
the appropriate number. The number corresponding to the current option
displays in this field.
Permanent View
Indicate whether the view you define is permanent or temporary.
Valid values are:
Y–View customizations are permanent.
N–View customizations are temporary.
Stop Sorting
Indicates whether to stop sorting as specified. Valid values are:
Y–Stop sorting.
N–Continue sorting.
Cmd
Field where you specify the sort order.
Dir
Specifies the lexicographic order for the column. Valid values
are:
A–(Default) Values are listed in
ascending order, smallest to largest.
D–Values are listed in descending
order, largest to smallest.
New
Displays the new CSORT view settings.
Old
Displays the previous CSORT view settings.
Column_Name
Shows the name of the column.
Type A or D in
the Cmd field next to the columns on which
you want to base your sort.
Press Enter. The new sort preferences are displayed in
the New column.