R3_GET_SPOOLREQUESTS

The R3_GET_SPOOLREQUESTS script element selects spool requests with predefined filters. Each report line 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

  • R3_GET_SPOOLREQ[UESTS]
    Selects spool requests with predefined filters

  • WITHOUT=
    (Optional) Selects for the request status of type WITHOUT
    Format: script literal
    Allowed values:
    • Y (default)
      A selection is made
    • N
      No selection for the request status of type WITHOUT takes place
  • PROCESSING=
    (Optional) Selects for the request status of type PROCESSING
    Format: script literal
    Allowed values:
    • Y (default)
      A selection is made
    • N
      No selection for the request status of type PROCESSING takes place
  • SUCCESSFUL=
    (Optional) Selects for the request status of type SUCCESSFUL
    Format: script literal
    Allowed values:
    • Y (default)
      A selection is made
    • N
      No selection for the request status of type SUCCESSFUL takes place
  • PROBLEM=
    (Optional) Selects for the request status of type PROBLEM
    Format: script literal
    Allowed values:
    • Y (default)
      A selection is made
    • N
      No selection for the request status of type PROBLEM takes place
  • OWNER=
    (Optional) Owner of the spool request
    Format: script literal
  • AUTHORITY=
    (Optional) Spool authorization
    Format: script literal
  • NAME=
    (Optional) Name of the spool request
    Format: script literal
  • SUFFIX1=
    (Optional) Suffix 1 of the spool request
    Format: script literal
  • SUFFIX2=
    (Optional) Suffix 2 of the spool request
    Format: script literal
  • DEST[INATION]=
    (Optional) Output device
    Format: script literal
  • SPOOLNR_FROM=
    (Optional) Selects from spool number
    Format: script literal
  • SPOOLNR_TO=
    (Optional) Selects to spool number
    Format: script literal
  • CREDATE_FROM=
    (Optional) Creation date of the spool request (from date)
    Format: script literal, YYYYMMDD
    Default: 20200101
  • CREDATE_TO=
    (Optional) Creation date of the spool request (to date)
    Format: script literal, YYYYMMDD
    Default: current date
  • TITLE=
    (Optional) Title of the spool request
    Format: script literal
  • RECEIVER=
    (Optional) Recipient of the spool list
    Format: script literal
  • DEPART[MENT]=
    (Optional) Receiving department of the spool list
    Format: script literal
  • NOFOUND=
    (Optional) Handling if no spool requests are found
    Format: script literal
    Allowed values:
    • NORMAL (default)
      The AE job continues
    • ABEND
      The AE job ends abnormally

Example

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

See also:

seealso

About SAP JCL