Previous Topic: PRINTPW Statement—Specify SAP Authorization String for Viewing Print Spool ListNext Topic: PRINTREQTYPE Statement—Specify Print Request Type


PRINTREL Statement—Specify Deletion of Spool Request

The PRINTREL statement specifies whether to delete the spool request associated with the ABAP after printing.

Supported Job Types

This statement is optional for the following job types:

Syntax

This statement has the following format:

PRINTREL YES|NO
YES

Deletes the spool request after printing.

NO

Does not delete the spool request after printing.

Notes:

Example: Delete the Spool Request After Printing

This example deletes the spool request for the BTCTEST ABAP after printing:

SAPJOBNAME SAPTEST
AGENT SAPHTAGENT
SAPUSER J01PROD
ABAPNAME BTCTEST
   VARIANT TEST
   PRINTREL YES