MPE/iX Quick Reference Guide
> Chapter 5 SORT-MERGE/XL CommandsDescription of SORT-MERGE/XL Commands |
||||||||||||||||
|
To Initiate SORTRUN SORT.PUB.SYS ALTSEQThe 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] modspec [,...] [ EACH | MERGE ] leftspec { = | <blank> | WITH } rightspecTo specify leftspec and rightspec use the following form: { string | num byte | range string } DATASpecifies 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] } ENDSpecifies the conclusion of SORT-MERGE/XL parameters. It also starts the sort or merge operation specified. E[ND] EXITTerminates the operation of SORT/XL or MERGE/XL and exits the subsystem. EX[IT] 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 | (filename [,...]) } [,#records [,recsize]] KEYSpecifies the location of the key data items in a file's records which are to be sorted or merged. K[EY] keyspec [;...]
LANGUAGEDefines 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] RESETThe RESET command is used to correct errors made in the specification of keys. When entered, it nullifies all existing KEY commands. RESET SHOWDisplays the collating sequence or the translation table. SH[OW] { S[EQUENCE][,O[FFLINE]] | T[ABLE][,O[FFLINE]] | <blank> | NOS[EQUENCE] | NOT[ABLE] } VERIFYDisplays information on the input and output files, key descriptions, and the various options in effect during a SORT/XL or MERGE/XL operation to the file LIST. V[ERIFY] :(MPE Command)The : is entered preceding MPE commands within SORT/XL or MERGE/XL, for example, for entering file equations. :[MPE command] :EODThe :EOD command is not truly a command. It terminates the list of input records to MERGE/XL when * (for $STDIN) is the input file. :EOD To Initiate MERGERUN MERGE.PUB.SYS ALTSEQThe 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. (Refer to Appendix B of the Sort-Merge/XL General User's Guide for information on ASCII and EBCDIC character set values.) A[LTSEQ] modspec [,...] [ EACH | MERGE ] leftspec { = | <blank> | WITH } rightspecTo specify leftspec and rightspec use the following form: { string | num byte | range string } DATASpecifies 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] } ENDSpecifies the conclusion of SORT-MERGE/XL parameters. It also starts the sort or merge operation specified. E[ND] EXITTerminates 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] filename [,...] KEYSpecifies the location of the key data items in a file's records which are to be sorted or merged. K[EY] keyspec [;...]
LANGUAGEDefines 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 the merged records. Refer to the SORT/XL OUTPUT command for information on how to use the command within that subsystem. O[UTPUT] { filename | <blank> | $STDLIST }[,num records][,KEY] RESETThe RESET command is used to correct errors made in the specification of keys. When entered, it nullifies all existing KEY commands. RESET SHOWDisplays the collating sequence or the translation table. SH[OW] { S[EQUENCE][,O[FFLINE]] | T[ABLE][,O[FFLINE]] | <blank> | NOS[EQUENCE] | NOT[ABLE] } VERIFYDisplays information on the input and output files, key descriptions, and the various options in effect during a SORT/XL or MERGE/XL operation to the file LIST. V[ERIFY] :(MPE Command): is entered preceding MPE commands within SORT/XL or MERGE/XL. :[MPE command] :EODThe :EOD command is not truly a command. It terminates the list of input records to SORT/XL when * (for $STDIN) is the input file. :EOD
|