BATCH_MONITOR - USAP configuration option

Description

The BATCH_MONITOR option causes Universal Connector for SAP to perform batch input monitoring for the job specified by the JOB_NAME and JOB_ID options.

Note

This requires that the job being started is a single step job executing ABAP program RSBDCSUB.

Universal Connector for SAP will wait for the job to complete.

  • If the job completes unsuccessfully, Universal Connector for SAP will exit with Universal Connector for SAP terminated job status exit code.
  • If the job completes successfully, Universal Connector for SAP will retrieve the spoollist generated by RSBDCSUB.
    • If RSBDCSUB does not select any sessions for processing, Universal Connector for SAP will issue a warning message and end with exit code 4.
    • If RSBDCSUB selects sessions for processing, Universal Connector for SAP extracts the session processing information from the RSBDCSUB spoollist and begins monitoring all session processing jobs kicked off by RSBDCSUB.

As each session processing job completes, Universal Connector for SAP retrieves the state of the corresponding queue and converts it to a Universal Connector for SAP queue state exit code. When all session processing jobs have completed, Universal Connector for SAP prints a completion status message to standard out and exits with the highest Universal Connector queue state exit code retrieved.

Usage

Method

Syntax

IBM i

HP NonStop

UNIX

Windows

z/OS

Command Line, Short Form

n/a

Command Line, Long Form

-bdcwait

(tick)

(tick)

(tick)

Environment Variable

n/a

Configuration File Keyword

n/a

Value

(There are no values used with this option.)

Command Usage

The BATCH_MONITOR option is used in the following Universal Connector for SAP commands: