Mass Activities Support Example for zOS

Universal Connector Mass Activity Support Example

This example uses the Create Account Statements application to demonstrate the process of setting up a mass activity for automation with Universal Connector for Use with SAP® ERP.
 

Step 1

Via SAP GUI, create a template parameter set for a mass run:

  1. In the SAP Front end GUI, enter transaction FPCC0002 to bring up a dialog for the Create Account Statements application.
  2. In the Run Identification section, enter values for Date ID and Identification. These values will be used to uniquely identify the parameter set that you create in this step.
    For example:
    • Date ID: 13.07.2010
    • Identification: SBX1
  3. Set up the rest of the application run parameters to meet your needs. These additional settings are not important to the concepts of this example.
  4. Select Program Run->Save (or <Ctrl+S>) to save the parameter set.

Step 2

Create a variant for ABAP program RFKK_MA_SCHEDULER that will use the parameter set created in Step 1. This can be accomplished by running the sample job (USPVRMS) illustrated in the following figure. (The procedure for executing this JCL (USPJRMS) is illustrated in Step 3.)

USPVRMS - JCL

 
See SYSIN Options for USPVRMS JCL, below, for a description of the configuration options used in this JCL.

Step 3

Via Universal Connector, run ABAP program RFKK_MA_SCHEDULER; submit a Universal Connector job to initiate, monitor, and return output from the mass activity. The sample job illustrated in the following figure will accomplish this using the variant created in Step 2. USPPRC - JCL Procedure, shown below this JCL, is the procedure used to execute the JCL.

USPJRMS - JCL

 
See SYSIN Options for USPJRMS JCL, below, for a description of the configuration options used in this JCL.
 

USPPRC - JCL Procedure

SYSIN Options for USPVRMS JCL

The SYSIN options used in the USPVRMS JCL example are:

Option

Description

-dest

Name of a destination defined in the saprfc.ini file.

-client

SAP client number.

-userid

SAP user ID with which to logon to the SAP system.

-pwd

Password for the SAP user ID.

-sub

Definition of the job to the SAP system.

SYSIN Options for USPJRMS JCL

The SYSIN options used in the USPJRMS JCL example are:

Option

Description

-dest

Name of a destination defined in the saprfc.ini file.

-client

SAP client number.

-userid

SAP user ID with which to logon to the SAP system.

-pwd

Password for the SAP user ID.

-sub

Definition of the job to the SAP system.

-start

Starts the newly defined job.

-mawait

Causes USAP to wait for the SAP mass activity jobs to complete processing.

Components

Universal Connector for z/OS