MPE/iX Quick Reference Guide (32650-90881)

Chapter 5 131
SORT-MERGE/XL Commands
Description of SORT-MERGE/XL Commands
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]
INPUT (MERGE/XL)
Within the MERGE/XL subsystem, the INPUT command specifies the sorted files to be
merged. Refer to the SORT/XL INPUT command for information on how to use the
command within that subsystem.
I[NPUT] {
filename1,filename2
}[,
filename3
]...[,
filenameN
]
KEY
Specifies the location of the key data items in a file's records which are to be sorted or
merged.
K[EY]
keyspec1
[;
keyspec2
]...[;
keyspecN
]
LANGUAGE
Defines the native language whose collating sequence is to be used to sort keys of type
CHARACTER.
L[ANGUAGE][IS] {
langnum
<blank>
langname
}
OUTPUT (MERGE/XL)
The OUTPUT command is used to designate and create the output file, which is to receive
keyspec
A group of parameters used to specify a key data item to be sorted or merged.
The syntax of the
keyspec
parameters follows:
position, length
[,
type
][,DESC]