Job name syntax

To make it easier to control and identify jobs on the system, each job has a unique qualified job name. The qualified job name consists of three parts: the job name (or simple job name), the user name, and the job number.

  • For interactive jobs, the job name is the same as the name of the workstation or emulator session that you signed on to. For batch jobs you can specify your own job name. The job name can be up to 10 characters long.
  • The user name is the name of the user profile under which the job is started. For interactive jobs, the user name is the user profile used to sign on to the system. This is the user name that you entered in the user field on the sign-on display. If you are using Telnet and by-passing the sign-on, this is the user name that you use to automatically sign on to the system. For batch jobs you can specify the user profile under which the batch job is to run. The user name can be up to 10 characters long.
  • The job number is a unique number assigned by the system so that you can identify jobs, even if more than one has the same job name and user name. The job number is always 6 numeric digits.

Syntax

The syntax for qualified job names is similar to qualified names for objects. For example, if the job name is DSP01, the user is QPGMR, and the job number is 000578, the qualified job name is entered on the Work with Job (WRKJOB) command as follows:
WRKJOB JOB(000578/QPGMR/DSP01)
Another similarity to object names is that you do not need to specify all of the qualifiers. For example consider the following:
WRKJOB JOB(QPGMR/DSP01)
or
WRKJOB JOB(DSP01)

This works the same as entering the entire qualified job name. If several jobs on the system match the portion of the job name that you entered, the Select Job display appears. This display allows you to select which job you want from a list of duplicate job names.