Cancels an open print request.
&CONTROL NOSHRVARS
-EXEC $PSCALL OPT=CANCEL
REQ=n
Cancels an open print request. The request must have been opened by the same NCL process. The print request is closed and deleted from the spool.
Operands:
Specifies that an open print request is to be canceled.
Specifies the number of the print request to be canceled.
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.
Examples: OPT=CANCEL
& CONTROL NOSHRVARS -EXEC $PSCALL OPT=CANCEL REQ=898
| Copyright © 2009 CA. All rights reserved. |
|