Previous Topic: CCEXIT Statement—Specify Type of Exit Code Returned by an i5/OS JobNext Topic: CHILDMONITOR Statement—Specify Whether to Monitor the Children of Programs (Oracle E-Business Suite Jobs)


CHAIN Statement—Identify Name of Business Warehouse Process Chain on SAP System

The CHAIN statement identifies the name of a Business Warehouse Process Chain on the SAP system.

Supported Job Type

This statement is required for the SAP Business Warehouse Process Chain job type.

Syntax

This statement has the following format:

CHAIN 'process_chain' [Simulate(Y|N)]
process_chain

Specifies the name of the Business Warehouse Process Chain.

Limits: Up to 25 valid SAP characters including any surrounding quotes; case-sensitive

Simulate(Y|N)

(Optional) Specifies whether to simulate or run the specified Process Chain on the SAP system.

Note: PROCESSCHAIN is an alias of CHAIN.

Example: Run a Process Chain on the SAP System

This example runs the PC_7A3929SH Process Chain on the SAP system:

SAPJOBNAME BWPCTEST
AGENT SAPHTAGENT
CHAIN 'PC_7A3929SH'

Example: Simulate a Process Chain on the SAP System

This example simulates the PC_7A3929SH Process Chain on the SAP system:

SAPJOBNAME BWPCTEST
AGENT SAPHTAGENT
CHAIN 'PC_7A3929SH' Simulate(Y)