Previous Topic: SAPJOBCLASS Statement—Specify SAP Job ClassNext Topic: SAPLANGUAGE Statement—Specify SAP Language for Login


SAPJOBNAME Statement—Specify SAP Job Name

The SAPJOBNAME statement specifies the SAP job name.

Supported Job Types

This statement is required for the following job types:

Syntax

This statement has the following format:

SAPJOBNAME job_name
job_name

Specifies the SAP job name used for the SAP workload. The value corresponds to the General data, Job name field on the Define Background Job dialog.

Limits: Up to 32 valid SAP characters; case-sensitive

Notes:

Example: Specify an SAP Job Name

This example specifies a job name that does not contain blanks or delimiters, so the job name does not need to be enclosed in single quotation marks.

SAPJOBNAME prodrun1
AGENT SAPHTAGENT
SAPUSER J01PROD
ABAPNAME BTCTEST
   VARIANT TEST

Example: Specify an SAP Job Name That Contains Blanks and Other Characters

This example specifies a job name that contains a space and a single quotation mark, so the job name must be enclosed in single quotation marks. The quotation mark in the job name must also be duplicated.

SAPJOBNAME 'Today''s Work'
AGENT SAPHTAGENT
SAPUSER J01PROD
ABAPNAME BTCTEST
   VARIANT TEST