Submitting an SAP Job Using SAP Job as Template - UNIX

Submitting a Job to an SAP System Using a Pre-existing SAP Job as a Template - UNIX

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

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 be identical to the template job with the exception of job ID. The SAP system will assign a new job ID.

The following figure illustrates the command to submit the job.



Command Line Options

Command line 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 "destinations" are stored in file saprfc.ini, which must be in the current directory, or its full path must be specified in environment variable RFC_INI.

-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.

-jobname

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

-jobid

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

Components

Universal Connector for SAP for UNIX