MPE/iX Quick Reference Guide (32650-90881)

Chapter 5 129
SORT-MERGE/XL Commands
Description of SORT-MERGE/XL Commands
INPUT (SORT/XL)
Within the SORT/XL subsystem, the INPUT command specifies the input file(s) to be
sorted. Refer to the MERGE/XL INPUT command for information on how to use the
command within that subsystem.
I[NPUT] {$STDIN [ X ]
*
fname
(
filename1,filename2,...filenameN
)}[,
#records
][
,rec size
]
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 (SORT/XL)
Designates and creates the output file which is to receive the sorted records. Refer to the
MERGE/XL OUTPUT command for information on how to use the command within that
subsystem.
O[UTPUT] {*
$STDLIST
filename
}[, NUM][, KEY]
RESET
The RESET command is used to correct errors made in the specification of keys. When
entered, it nullifies all existing KEY commands.
RESET
SHOW
Displays the collating sequence or the translation table.
SH[OW] {S[EQUENCE][,O[FFLINE
T[ABLE][,O[FFLINE
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]