Holds a print request.
&CONTROL NOSHRVARS
-EXEC $PSCALL OPT=HOLD
REQ=n
Holds a print request so that it is not printed until released. The request to be held must have a status of BUILD or QUEUED.
Operands:
Specifies that a print request is to be held.
Specifies the number of the print request to be held.
Return Codes:
$PSCALL completed successfully.
$PSCALL completed successfully. The request was denied. &SYSMSG is set to an error message and &$PSFDBK is set to one of the following values:
User not authorized for the request.
Print request not found on the spool.
The print request is locked by the system or another user.
Status of the print request was not BUILD or QUEUED.
An error occurred. &SYSMSG is set to an error message.
Example: OPT=HOLD
&CONTROL NOSHRVARS -EXEC $PSCALL OPT=HOLD REQ=2345
| Copyright © 2009 CA. All rights reserved. |
|