Deletes a print request from the spool.
&CONTROL NOSHRVARS
-EXEC $PSCALL OPT=DELETE
REQ=n
Deletes a print request from the spool. The request to be deleted must have a status of HELD, HELD-ERROR, DIRECT-ERR or QUEUED.
Operands:
Specifies that a print request is to be deleted from the spool.
Specifies the number of the print request to be deleted.
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 HELD, HELD-ERROR, DIRECT-ERR or QUEUED.
An error occurred. &SYSMSG is set to an error message.
Example: OPT=DELETE
& CONTROL NOSHRVARS -EXEC $PSCALL OPT=DELETE REQ=915
| Copyright © 2009 CA. All rights reserved. |
|