R3_GET_SPOOLREQUESTS

Use the R3_GET_SPOOLREQUESTS script element to select spool requests using predefined filters. Each line in the report output starts with a semicolon (;) character.

Transaction: SP01

Interface: AE

Syntax

R3_GET_SPOOLREQ[UESTS] [WITHOUT=...][,PROCESSING=...][,SUCCESSFUL=...][,PROBLEM=...][,OWNER=...][,AUTHORITY=...][,NAME=...][,SUFFIX1=...][,SUFFIX2=...][,DESTINATION=...][,SPOOLNR_FROM=...][,SPOOLNR_TO=...][,CREDATE_FROM=...][,CREDATE_TO=...][,TITLE=...][,RECEIVER=...][,DEPARTMENT=...][,NOFOUND=...]

Parameters

Parameter Description Format Allowed Values Default Value
WITHOUT=

(Optional)

Selects spool requests with a WITHOUT status Script literal
  • Y — Selection is made
  • N — No selection for this status
Y
PROCESSING=

(Optional)

Selects spool requests with a PROCESSING status Script literal
  • Y — Selection is made
  • N — No selection for this status
Y
SUCCESSFUL=

(Optional)

Selects spool requests with a SUCCESSFUL status Script literal
  • Y — Selection is made
  • N — No selection for this status
Y
PROBLEM=

(Optional)

Selects spool requests with a PROBLEM status Script literal
  • Y — Selection is made
  • N — No selection for this status
Y
OWNER=

(Optional)

Owner of the spool request Script literal n.a. n.a.
AUTHORITY=

(Optional)

Spool authorization Script literal n.a. n.a.
NAME=

(Optional)

Name of the spool request Script literal n.a. n.a.
SUFFIX1=

(Optional)

Suffix 1 of the spool request Script literal n.a. n.a.
SUFFIX2=

(Optional)

Suffix 2 of the spool request Script literal n.a. n.a.
DEST[INATION]=

(Optional)

Output device of the spool request Script literal n.a. n.a.
SPOOLNR_FROM=

(Optional)

Lower limit of the spool request number range Script literal n.a. n.a.
SPOOLNR_TO=

(Optional)

Upper limit of the spool request number range Script literal n.a. n.a.
CREDATE_FROM=

(Optional)

Start date of the spool request creation date range Script literal n.a. 20200101 (YYYYMMDD)
CREDATE_TO=

(Optional)

End date of the spool request creation date range Script literal n.a. Current date (YYYYMMDD)
TITLE=

(Optional)

Title of the spool request Script literal n.a. n.a.
RECEIVER=

(Optional)

Recipient of the spool list Script literal n.a. n.a.
DEPART[MENT]=

(Optional)

Receiving department of the spool list Script literal n.a. n.a.
NOFOUND=

(Optional)

Handling if no spool requests are found Script literal
  • NORMAL — The AE job continues
  • ABEND — The AE job ends abnormally
NORMAL

Examples

The following example selects spool requests with numbers between 1234 and 1236, sent to the output device PRNT by recipient SMITH.

R3_GET_SPOOLREQUESTS SPOOLNR_FROM='1234',SPOOLNR_TO='1236',DESTINATION='PRNT',RECEIVER='SMITH'

See also: