Versions Compared

Key

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

...

Anchor
1036382
1036382
This example illustrates submitting a job to an SAP system using a pre-existing SAP job as a template for the submitted job.

<pre>
//USPSUB1  JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID                     
//*****************************************************************
//* Description
//* -----------
//* This sample will submit a new job to an SAP system using a 
//* pre-existing SAP job as a template.
//* 
//* NOTE: This job assumes (and requires) that a job already 
//* exists on an the SAP system with:
//* Job Name: USPSUB1
//* Job ID:   12345678
//*
//* After running this job, a new SAP job will be created on the 
//* SAP system.  The new job will have the same name as the 
//* pre-existing job that was used as a template. However, the 
//* SAP system will assign a new job ID. 
//* 
//         JCLLIB ORDER=#SHLQ.UNV.SUNVSAMP                           
//*                                                                  
//STEP1    EXEC USPPRC                                               
//SYSIN    DD  *                                                     
   -dest      CF5 
   -client    800 
   -userid    sapuid 
   -pwd       sappwd      
   -sub  
   -jobname   USPSUB1 
   -jobid     12345678
/*
                                                                  
</pre>
 
Panel
Html bobswift

Anchor
1037822
1037822
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 that is identical to the template job with the exception of job ID.

...

Anchor
1036423
1036423
SYSIN options used in this example are:

...

cellspacing0
styletext-align: left; width: 100%;
classTable_with_Header

...

:

...

...

Command Options

...

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;

Description

...

...

...

...

...

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.

...

...

...

...

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;

...

Remote user ID with which to execute the 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;

...

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.

...

...

...

...

...

Job name of the SAP job that will be used as a template.

...

...

...

...

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;

...

Job ID of the SAP job that will be used as a template.

Components

Anchor
1037723
1037723
Universal Connector for z/OS