
360 Chapter 5
Command Definitions L-O
LISTSPF
Display Field and Description
Below is an example of the first line of the display for LISTSPF. Following the example is a
description of each field in the display.
SPOOLID JOBNUM FILEDES PRI COPIES DEV STATE RSPFN OWNER
#01 J12345 $STDLIST 6 1 EPOC CREATE RSPFN THISUSER.ACCOUNT1
SPOOLID The unique spool file identifier.
JOBNUM The job or session identifier of the job or session that created the spool file.
The exception to this is that the jobnum for a JOB input spool file is the job
number assigned the process whose $STDIN is (or will be) this input spool
file, as opposed to the jobnum of the process that streamed the job. Job
numbers containing an apostrophe (i.e., J'123) indicate that the spool file
was imported by SPFXFER, RESTORE, or was recovered after a START
NORECOVERY.
FILEDES The formal or actual file designator for the spool file. Printing to a file
equation such as FILE
EPOCLONG;DEV=EPOC;ENV=LP88LONG.HPENV.SYS creates spool files
whose formal designator is EPOCLONG.
DEV The LDEV, device name or device class name that is the destination of the
spool file. LDEVs are intentionally displayed with leading zeroes to
simulate a device name. When you specify LDEVs with SELEQ, you need
not supply the leading zeroes.
PRI The input or output priority of the spool file.
COPIES The total number of copies of the spool file to be printed.
STATE The current state of the spool file. READY and DELPND apply to input spool
files as well as output spool files.
• CREATE: An output spool file is being created; that is, an output spooled
device has been opened and is being written to, generating an output
spool file. When the device is closed, the spool file enters the READY
state.
• READY: An output spool file is ready to be printed or an input spool file
is ready to be accessed.
• ACTIVE: An input spool file is active when it is being read from a
STREAM file or a spooled device to disk.
• OPEN: A JOB input spool file (the $STDIN for a batch job) is being
accessed by the job's CI process or a DATA input spool file is being
accessed by a process.
• PRINT: An output spool file is being printed.
If you enter the LISTSPF command while a trailer is being printed, you
may observe two spool files in the PRINT state at the same time for the
same device. This is because the spooler must open its next file to print