Previous Topic: PRINTIMMED Statement—Specify Immediate Print After Job CompletionNext Topic: PRINTPRIORITY Statement—Specify the Priority of the SAP Spool Request


PRINTNEWSPOOL Statement—Create New Spool Request

The PRINTNEWSPOOL statement specifies whether to create a new spool request or append the spool request to an existing spool request with similar attributes (if any).

Supported Job Types

This statement is optional for the following job types:

Syntax

This statement has the following format:

PRINTNEWSPOOL Y|N
Y

Creates new spool request.

N

Appends spool request to an existing spool request.

Notes:

Example: Append Spool Request to an Existing Request

This example appends the spool request to an existing spool request for the RSPARAM ABAP:

SAPJOBNAME SAPTEST
AGENT SAPHTAGENT
ABAPNAME RSPARAM
   PRINTDEST LP01
   PRINTNEWSPOOL N