Z Command - Halt Virtual Printer Activity

This article describes the Z command. Use this command to halt the activity on a virtual printer temporarily, but without terminating the VTAM session.
spool
Use this Z command to halt the activity on a virtual printer temporarily, but without terminating the VTAM session. The establishment of more sessions is prevented.
After this command has been issued, all session requests from any application for this virtual printer are queued by VTAM until an S command is issued for the virtual printer. Then, all pending requests are resumed.
This command has the following syntax:
Z,
vpiname
[,V]
  • vpiname
    Defines the name of the virtual printer, which must be halted.
  • V
    Defines that this operand can be used if a VPSOPT=6 parameter is specified. This option allows the virtual printer name and the real printer name to be the same. The
    V
    operand indicates that the Halt command is directed to the virtual printer and not the real printer.
Example
An example of this command follows:
Z,VDPTPRT1
Halt virtual printer VDPTPRT1:
Z,VDPTPRT1,V