SORT
Note: &STACK
HT
and SET CMSTYPE
HT
have the same
effect when interpreted
by
the CMS
EXEC
processor.
Similarly,
&STACK
RT
and SET CMSTYPE
RT
are
equivalent for the
CMS
EXEC
processor. However, when
using
EXEC
2, the commands &STACK
HT
and &STACK
R T cause the characters
"HT"
and
"R
T"
to be placed in the
program stack and do not affect the console output. These
characters must be used
by
a program
or
cleared from the
stack.
Otherwise, you will receive an
"UNKNOWN
CP
/ CMS COMMAND" error message when they are read
from the program stack.
Usage Notes:
1.
If
you issue the SET command specifying an invalid
function and the implied
CP
function is in effect, you
may receive message
DMKCFS026E OPERAND
MISSING
OR
INVALID.
2.
If
an invalid SET command function
is
specified from an
EXEC
and the implied
CP
function is in effect, then the
return code
is
-0003.
Responses: None. To determine or verify the setting
of
a
function, use the QUERY command.
Messages and Return Codes:
DMSLI00021
FILE
'fn'
TXTLIB
NOT
FOUND
RC=O
DMSSET014E
INVALID
FUNCTION
'function'
RC=24
DMSSET026E
INVALID
PARAMETER
'parameter'
FOR
'function'
FUNCTION
RC=
DMSSET031E
LOADER
TABLES
CANNOT
BE
MODIFIED
RC=40
DMSSET047E
NO
FUNCTION
SPECIFIED
RC=24
DMSSET048E
INVALID
MODE
'mode'
RC=24
DMSSET050E
PARAMETER
MISSING
AFTER
'function'
RC=24
DMSSET061E
NO
TRANSLATION
CHARACTER
SPECIFIED
RC=24
DMSSET070E
INVALID
PARAMETER
'parameter'
RC=24
DMSSET098w
CMS
OS
SIMULATION
NOT
AVAILABLE
Rc=4
DMSSET100W
SYSTEM
NAME
'name'
NOT
AVAILABLE
Rc=4
Use the SORT command to read fixed-length records from a
CMS input file, arrange them in ascending EBCDIC order
according to specified sort fields, and create a new file
containing the sorted records. The format of the
SORT
command
is:
7-118
VM/PC
Users Guide