Command Summary

This article describes the command format and contains a listing of commands that are organized by function and interface.
2
2
Spool
Operator Commands
This section provides information about how to enter the operator commands that control
Spool
.
Operator Commands
From an MVS console, the
Spool
system provides two methods to enter operator commands.
Use the following format:
F ESF,command
where ESF is the name of the procedure to start the
Spool
system. Some installations might use a different name.
Or enter the command preceded by the subsystem communication character
(-):
-command
The installation-specific subsystem communication character, if used, is specified in the
Spool
parameter data set.
Multiple Commands
You can enter more than one command on one command line.
Multiple commands are separated by semicolons:
command1;command2;command3
The subsystem communication character is not repeated for each command. It is only specified at the start of the first command.
When
OPS/MVS
is used to stop
Spool
and multiple commands are needed, then multiple commands must be separated by TWO semicolons to leave ONE semicolon to be passed on to
Spool
.
Example:
CMD1(F &JOBNAME,PNET;;SHUTDOWN;;DA) CMD2(F &JOBNAME,TNET;;SHUTDOWN;;DA) CMD3(F &JOBNAME,DA;;TNET;;SHUTDOWN,F)
Printer Control Commands
The following commands are used to control printers:
  • B -- Backspace printer
  • C -- Cancel printer
  • D -- Display printer status
  • E -- Restart printer
  • F -- Forward space printer
  • I -- Interrupt printer
  • P -- Stop printer
  • R -- Repeat printer
  • S -- Start printer
  • T -- Reset printer (change parameters)
  • Z -- Halt printer
Online Printer Configuration Commands
The following commands are used to configure printers online:
  • PRTADD -- Add a printer node definition
  • PRTDEL -- Delete a printer node definition
  • PRTMOD -- Modify a printer node definition
File Control Commands
The following commands are used to control files:
  • AF -- Release file
  • CF -- Close a temporarily closed file
  • DF -- Display files
  • HF -- Hold file
  • PD -- Purge all printed files
  • PF -- Purge file
  • RF -- Re-queue file
  • TF -- Reset file (change parameters)
System Commands
The following commands are used to control the
Spool
system:
  • ABEND -- Abends the
    Spool
    system
  • CHKPT -- Forces a checkpoint
  • DA -- Displays active files
  • DS -- Displays the current status of the
    Spool
    system
  • ESYS -- Resets another
    Spool
    system
  • REINIT -- Reads the startup parameters and reinitialize some parameters without closing down
    Spool
  • SHUTDOWN -- Stops the
    Spool
    system
  • WRITELOG -- Releases the log file
XFER Interface Commands
The XFER interface is used to transfer files between JES2 or JES3 and
Spool
; it can be subdivided into an ESFTOJES part and a JESTOESF part.
The following commands are used to control the XFER interface:
  • DX -- Displays status of the XFER interface
  • HX -- Stops the XFER interface
  • SX -- Starts the XFER interface
NJE Interface Commands
The
Spool
system provides an NJE interface which can be used for the automatic transfer of spool files between the
Spool
system and other NJE nodes. The NJE interface provides a link to, for example, JES2, JES3/BDT, RSCS, POWER, and other
Spool
systems.
The following commands are used to control the NJE interface.
  • C -- Cancels current activity with another NJE node
  • D -- Displays the status of a session with another NJE node
  • P -- Stops a session with another NJE node
  • S -- Starts a session with another NJE node
  • Z -- Halts a session with another NJE node
VTAM Network Interface Commands
Spool
provides a VTAM Network interface for 3270 VTAM displays and printers. The network interface must be active for
Spool
to be able to send files to printers, to enable users to logon from terminals, or to use the NJE interface.
The following commands are used to control the network interface:
  • PNET -- Stops the network interface. Active sessions are allowed to finish.
  • SNET -- Starts the network interface.
  • TNET -- Stops the network interface immediately. Active sessions are interrupted.
Advanced Communication Interface Commands
The Advanced Communication Interface lets the user programs to send commands to
Spool
, and to receive responses and other messages generated by
Spool
. Each user program interfaces with
Spool
through a communication channel.
The following commands are used to control communication channels:
  • DC -- Displays the status of communication channels
  • PC -- Stops a communication channel
  • SC -- Starts a communication channel
SUBSYS Interface Commands
The SUBSYS interface lets any program using fixed or variable record formats to create or retrieve a file from
Spool
. This interface is used by coding the SUBSYS parameter on the DD-statement with a number of
Spool
defined sub-parameters.
The following commands can control the SUBSYS interface:
  • HS -- Stops the SUBSYS interface
  • SS -- Starts the SUBSYS interface
Virtual Printer Interface Commands
The Virtual Printer interface is used to get print from old applications which write directly on a network printer into
Spool
.
The following commands are used to control the virtual printer interface:
  • C -- Cancels the current transmission
  • P -- Stops a virtual printer session
  • PNET, VPS -- Stops the virtual printer interface
  • S -- Starts a virtual printer session
  • SNET, VPS -- Starts the virtual printer interface
  • TV -- Initiates and terminates virtual printer interface traces
  • Z -- Halts a virtual printer session
PSF Interface Commands
The PSF interface is used to let PSF perform the actual printing.
The commands are the same as for other printers with the exception of PFSS, which stops a PSF address space.
The following commands are used to display the status of the PSF interface:
  • DS, FSS -- Display active Functional Subsystem address spaces.
  • DS, FSA -- Display active Functional Subsystem Applications and Functional Subsystem address spaces.
View
Interface Commands
The
Spool
to
View
interface can be used to copy files from
Spool
to
View
(formerly known as SAR.)
The
Spool
to
View
interface can be used for:
  • Automatic transfer of files to
    View
    for further processing
  • Automatic creation of file back up copies into
    View
  • Automatic archival of files into
    View
The following commands can be used to control this interface:
  • CSAR
    Cancels and halts the
    Spool
    to
    View
    interface.
  • HSAR
    Halts the
    Spool
    to
    View
    interface.
  • SSAR
    Starts the
    Spool
    to
    View
    interface.
Transformer Interface Commands
You can use the Transformer interface to automatically translate data streams from one format to another, as follows:
  • Text to PDF, HTML, and RTF
  • AFP to PCL, PostScript, and PDF
  • Xerox Metacode to PCL, PostScript, and PDF
Use the following commands to control this interface:
  • HT
    -- Halts the Transformer interface
  • ST
    -- Starts the Transformer interface
LPD/IPP Interface Commands
The
Spool
LPD/IPP Print Server Interface is used to receive print requests from remote print servers and workstations using the TCP/IP LPR/LPD or IPP protocols.
Use the following commands to control the LPD interface:
  • C
    ,
    LPD,
    session
    -- Cancels the LPD/IPP session
  • DA,LPD
    -- Displays active LPD/IPP sessions
  • DS,LPD
    -- Displays the current LPD/IPP status
  • REINIT,LPD
    -- Reads the startup parameters and reinitializes the LPD/IPP Interface
  • PNET, LPD
    -- Stops the LPD/IPP Interface. Active sessions are allowed to finish.
  • SNET,LPD
    -- Starts the LPD/IPP Interface
  • TNET,LPD
    -- Stops the LPD/IPP Interface. Active sessions are terminated.