MPE/iX Quick Reference Guide (32650-90881)

128 Chapter5
SORT-MERGE/XL Commands
Description of SORT-MERGE/XL Commands
Description of SORT-MERGE/XL Commands
To Initiate SORT
RUN SORT.PUB.SYS
ALTSEQ
The ALTSEQ command defines a collating sequence other than the standard ASCII or
EBCDIC format. The ALTSEQ command must be preceded by a DATA command. It is
effective only if the keys are of type BYTE and if the input data is ASCII.
A[LTSEQ]
modspec1
[,
modspec2
]...[,
modspecN
]
[EACH]
leftspec
{=
<blank>
WITH}
rightspec
or
MERGE
leftspec
{WITH
<blank>
= }
rightspec
To specify
leftspec
and
rightspec
use the following form:
{
string
num byte
range string
}
DATA
Specifies the type of the input data (either ASCII or EBCDIC) and the basic collating
sequence to be used in the particular SORT/XL (or MERGE/XL) operation. The collating
sequence may be altered, if desired, by using the ALTSEQ command.
DATA [IS] {A[SCII]
E[BCDIC]} [ , ] SEQ[UENCE] [IS]{ A[SCII]
E[BCDIC]}
END
Specifies the conclusion of SORT-MERGE/XL parameters. It also starts the sort or merge
operation specified.
E[ND]
EXIT
Terminates the operation of SORT/XL or MERGE/XL and exits the subsystem.
EX[IT]