Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
1041812
1041812
This example illustrates batch input processing for z/OS.

Panel

SYSIN Options

...

Command Options Description -dest1041905
//USPBDC1  JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID                     
//*****************************************************************
//* Description
//* -----------
//* This sample demonstrates the use of USAP's Batch Input 
//* Monitoring. 
//*
//* NOTE: This job requires that variant SBX1 exists for ABAP 
//* program RSBDCSUB.
//*
//* This sample will:
//* 1. Modify variant SBX1 with values required for this 
//*    job run (specifies the batch input session to be processed).
//* 2. Submit a new job to the SAP system. 
//* 3. Start the job.
//* 4. Monitor the submitted job and all session processing jobs 
//*    to completion.
//* 5. Return the job logs.
//* 6. Return the spool list.
//* 7. Prints a brief report indicating the status of all batch 
//*    input sessions processed
//* 
//         JCLLIB ORDER=\#SHLQ.UNV.SUNVSAMP                           
//*
//*****************************************************************
//* Modify variant 'SBX1' for ABAP program RSBDCSUB
//*****************************************************************
//STEP1    EXEC USPPRC                                               
//VARDEF   DD  * 
 /* Variant Header statement. */
 VARIANT\_NAME   = "SBX1"
    REPORT      = "RSBDCSUB";
 /* Session */
 SELNAME        = "MAPPE"
    KIND        = "P"
    SIGN        = ""
    OPTION      = ""
    LOW         = "SBX20100720"
    HIGH        = "";
//SYSIN    DD  *  
   -dest         CF5 
   -client       800 
   -userid       sapuid 
   -pwd          sappwd      
   -modify       VARDEF
/* 
//*****************************************************************
//* Run ABAP program RSBDCSUB to perform Batch Input processing 
//* using the variant that was modified in step 1.
//*
//* NOTE: This job requires that a variant SBX1 exists for ABAP 
//* program RSBDCSUB.
//*
//*****************************************************************
//STEP2    EXEC USPPRC                                               
//JOBDEF   DD  * 
 /* Job Header statement. */
 JOBNAME = "RSBDCSUB";
 /* ABAP Step statement. */
 ABAP_STEP            = "STEP 1"
    ABAP_PROGRAM_NAME = "RSBDCSUB_SBX1"
    VARIANT_NAME      = "SBX1";
//SYSIN    DD  * 
   -dest    CF5 
   -client  800 
   -userid  sapuid 
   -pwd     sappwd      
   -sub     JOBDEF          
   -start
   -bdcwait
/*       
HTML Table
summary
cellspacing0
styletext-align: left; width: 100%;
classTable_with_Header
Table Row (tr)
Table Cell (td)
stylebackground-color: #F0F0F0; border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: middle; width: 108pt;
Anchor
10418991041899
Table Cell (td)
stylebackground-color: #F0F0F0; border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: middle; width: 324pt;
Anchor
10419011041901
Table Row (tr)
Table Cell (td)
styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;
Anchor
10419031041903
Table Cell (td)
styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;
Anchor
1041905

SYSIN Options

Anchor
1041896
1041896
SYSIN options used in this example are:

Anchor
1041930
1041930

...

Command Options

Description

-dest

Named set of connection parameters (destination) 'CF5'. These connection parameters are used for communications with the SAP system. The default file for destination parameters is #HLQ.UNV.USPRFC00.

...

...

...

...

SAP client number that the Universal Connector will communicate with.

...

...

...

...

Remote user ID with which to execute the command.

...

...

...

...

Password for the user ID.

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

...

...

...

Specification that Universal Connector will issue the SUBMIT command.

...

...

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

Specification that Universal Connector will instruct the SAP system to start the submitted job.

Components

Anchor
1041935
1041935
Universal Connector for SAP for zOS