Previous Topic: JOBD Statement—Specify the Job DescriptionNext Topic: JOBNAME Statement—Specify Job Name (SAP Jobs)


JOBNAME Statement—Specify the Job Name (i5/OS Jobs)

The JOBNAME statement specifies a name for an i5/OS job. This is the name displayed in the job queue.

Supported Job Type

This statement is optional for the i5/OS job type.

Syntax

This statement has the following format:

JOBNAME job_name
job_name

Specifies the name of the i5/OS job.

Limits: Up to 10 characters; the first character must be one of the following: A-Z, $, #, or @; the second to tenth characters can be A-Z, 0-9, $, #, _, ., or @

Note: If you do not specify a JOBNAME statement in the job definition, the job name defaults to the name specified in the CLPNAME, COMMAND, or AS400FILE statement.

Example: Specify the Name of an i5/OS Job

This example defines an i5/OS job that runs a program named PROCPROG. The name of this job that is displayed in the job queue of the i5/OS system is PROG1.

AGENT I5AGENT
CLPNAME PROCPROG
JOBNAME PROG1