GENERATE JOB DEFINITION FILE - USAP Command

Description

The GENERATE JOB DEFINITION FILE command generates a USAP job definition file based on a model SAP job. The generated definition file is written to standard output.

Command Line Syntax

The following figure illustrates the command line syntax of the GENERATE JOB DEFINITION FILE command, using the command line, long form of its configuration options.

-generate jobdef -jobname jobname [-jobid jobid] [-model_status option] [-resolve_multi_model option]

Command Argument

The GENERATE JOB DEFINITION FILE command can be expressed as:

  • -generate (Long form)

The GENERATE JOB DEFINITION FILE command argument, jobdef, generates a usap job definition file based on the specified SAP job definition. The generated job definition is printed to standard output.

This command option makes it easy to create complex job definitions based on pre-existing SAP jobs. It also eliminates typing errors that can be introduced by manually coding job definition files.

Configuration Options

The following table describes all GENERATE JOB DEFINITION FILE configuration options and provides the command line, long form of each option illustrated in the GENERATE JOB DEFINITION FILE command line syntax, above.

Configuration
Option Name

Command Line
Long Form

Description

JOB_ID                                     

-jobid

Job ID of an existing SAP job to select as the model job.

JOB_NAME

-jobname

Name of an existing SAP job to select as the model job.

MODEL_STATUS

-model_status

For operations that work with model jobs without providing a job ID to explicitly target a specific job on the SAP system, restricts the model job candidates to the specified job status.

RESOLVE_MULTI_ MODEL

-resolve_multi_model

For operations that work with model jobs without providing a job ID to explicitly target a specific job on the SAP system, controls the behavior when multiple candidate jobs are found.