Previous Topic: PRINTHOSTPAGE Statement—Print Host PageNext Topic: PRINTNEWSPOOL Statement—Create New Spool Request


PRINTIMMED Statement—Specify Immediate Print After Job Completion

The PRINTIMMED statement specifies whether to print the job immediately after the job completes.

Supported Job Types

This statement is optional for the following job types:

Syntax

This statement has the following format:

PRINTIMMED YES|NO
YES

Prints the job immediately after completion.

NO

Does not print the job immediately after completion. The job output remains on spool.

Notes:

Example: Print the Job Immediately After Completion

This example prints the job immediately after completion for the BTCTEST ABAP:

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