NBSpool for MPE Reference Guide

Chapter 3
3-88
SORT
The
SORT
command allows you to specify the order in which all other commands will display lists
of spool files. The default is that no sorting will be done. The most minor sort will always be done
by device file ID number if any sorting is specified. Using the
OFF
parameter specifies a return to
the default state. The default sorting order is by
DFID
number.
SORT Syntax
O> SORT {[sortspec][,sortspec][,...]] [;DESC]}
{OFF }
where
sortspec = C or CREATION
D or DEVICE
F or FILENAME
J or JOB
N or NAME (job/session name)
P or PRI
S or SIZE
U or USER
SORT Parameters
Parameter Description
sortspec
This parameter specifies the order in which all listings will be produced.
Specifying more than one
sortspec
will cause the major sort to be the first
sortspec
, with additional sorting on the other more minor
sortspec
s. Each
sortspec
may be shortened to as few as one character if desired.
Sortspec
is
expressed as one of the following:
CREATION
Sort by creation date and time.
DEVICE
Sort by device class and logical device. Logical devices sort
before device classes.
FILENAME
Sort by spool file name.
JOB
Sort by job/session number.
NAME
Sort by job/session name. NM Spooler only.
PRI
Sort by output priority.
SIZE
Sort by spool file size
USER
Sort by account and user.
Continued