Creating Job Definition Using GENERATE JOBDEF Command - UNIX

Creating a Universal Connector Job Definition Using the GENERATE JOBDEF Command - UNIX

SAP jobs offer many configuration options. Manually creating Universal Connector job definitions that utilize many configuration options can be tedious and time consuming.

Fortunately, Universal Connector offers a function that will generate a complete job definition based on a pre-existing template job on the SAP system. The generated job definition can then be modified, if needed.

The following example demonstrates the use of the generate jobdef command. It will generate a complete Universal Connector job definition based on the pre-existing job USP_TEMPLATE_1 with job id 12345678. The generated job definition will contain all the information required to create a new SAP job definition equivalent to the template job.

Note

This job assumes (and requires) that a job already exists on the SAP system with:

  • Job Name: USP_TEMPLATE_1
  • Job ID: 12345678

The following figure illustrates the command used to generate a Universal Connector job definition.

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 USAP will communicate with.

-userid

Remote user ID with which to execute the command.

-pwd

Password for the user ID.

-jobname

Name of the SAP job that will be used as a template for generation.

-jobid

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

Components

Universal Connector for SAP for UNIX