SORT-MERGE/XL General User's Guide (32650-90883)

96 Chapter6
SORT-MERGE/XL Commands
SHOW
PARAMETERS
EXAMPLES
The following examples show how to display collating sequences and transaction tables.
Displaying the ASCII Collating Sequence
To displaythe standard ASCII collating sequence to your terminal enter >DATA IS ASCII,
SEQUENCE IS ASCII followed by >SHOW SEQUENCE. This command generates the ASCII
collating sequence based on the first 128 characters of the ASCII code. If you also enter
OFFLINE after >SHOW SEQUENCE, the sequence is printed on the line printer.
S[EQUENCE] The S[EQUENCE] parameter displays the collating sequence. This
sequence is determined by the first 128 characters of the ASCII
code, unless preceded by an >ALTSEQ command or a >DATA
command with the EBCDIC sequence parameter. If the OFFLINE
parameter is not issued, the sequence is displayed on the terminal.
(If the OFFLINE parameter is issued, the sequence is printed on the
line printer.) The display consists of the representation of each
character in the relative order in which the collating sequence
sorts (or merges) the records. Characters with the same ordinal
values are adjoined by equal sign(s). Once specified in the >SHOW
command, it is displayed after each subsequent >ALTSEQ command
during a particular sort or merge operation until you specify
NOSEQUENCE. OFFLINE activates the formal file designator
DISPLOUT, with the line printer as the default device type
(DEV=LP). Alternatively, you can store the contents of the sequence
on a disc (or tape) file by appending DEV=DISC (or TAPE) to the file
equation.
T[ABLE] This parameter displays the translation table. After defining your
special collating sequence, you may want to look at the table and
the changes that occur in it. The table is helpful if you call
SORT/XL (or MERGE/XL) from a program. (Refer to the
SORT-MERGE/XL Programmers Guide (32650-90080) for
additional information.) The translation table is organized
according to the ASCII code decimal values of the characters. You
should look at the position defined by the ASCII code decimal value
to determine the ordinal value of a particular character. The table
displays graphic characters each equated to its ordinal value, and
the ordinal values of the characters that do not have graphic
representation. Like the SEQUENCE option, the translation table is
displayed after each >ALTSEQ command. The >SHOW TABLE
command displays the table (in decimal) on the terminal.
NOS[EQUENCE] Suppresses the display of the collating sequence in a particular
SORT/XL (or MERGE/XL) operation. However, you can again get
the display by specifying SEQUENCE.
NOT[ABLE] Suppresses the display of the translation table until you enter a
>SHOW TABLE command.