Submitting a Job to an SAP System Using a Universal Connector Job Definition File - z/OS
This example illustrates submitting a job to an SAP system using Universal Connector job definition file.
Panel |
---|
//USPSUB2 JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//*****************************************************************
//* Description
//* -----------
//* This sample will submit a new job to an SAP system.
//*
// JCLLIB ORDER=#SHLQ.UNV.SUNVSAMP
//*
//STEP1 EXEC USPPRC
//JOBDEF DD *
/* Job Header statement. */
JOBNAME = "USPSUB2";
/* ABAP Step statement. */
ABAP_STEP = "STEP 1"
ABAP_PROGRAM_NAME = "BTCSPOOL";
//SYSIN DD *
-dest CF5
-client 800
-userid sapuid
-pwd sappwd
-sub JOBDEF
/*
|
The JCL procedure USPPRC is used to execute the Universal Connector command. Universal Connector connects to the SAP system and performs the requested work. In this case, a new job is created on the SAP system based on a definition that was provided in a Universal Connector definition file.
SYSIN Options
SYSIN options used in this example are:
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. |
-client | SAP client number that the Universal Connector will communicate with. |
-userid | Remote user ID with which to execute the command. |
-pwd | Password for the user ID. |
-sub | Specification that Universal Connector will issue the SUBMIT command. |
Components
Universal Connector for z/OS