Closes an open print request.
&CONTROL NOSHRVARS
-EXEC $PSCALL OPT=CLOSE
REQ=n
Closes an open print request. The request must have been opened by the same NCL process. If the request was opened with the HOLD operand set to NO, the request is queued for printing, otherwise the status is set to HELD and the request is not printed until released.
Operands:
Specifies that an open print request is to be closed.
Specifies the number of the print request to be closed.
Return Codes:
$PSCALL completed successfully
$PSCALL completed successfully. The request was denied. &SYSMSG is set to an error message and &$PSFDBK is set to the following value:
Print request not open
An error occurred. &SYSMSG is set to an error message.
Example: OPT=CLOSE
& CONTROL NOSHRVARS -EXEC $PSCALL OPT=CLOSE REQ=1256
| Copyright © 2009 CA. All rights reserved. |
|