Job user identity

 

The job user identity (JUID) is the name of the user profile by which this job is known to other jobs. This name is used for authorization checks when other jobs attempt to operate against this job.

Some examples of functions that operate against another job include the Start Service Job (STRSRVJOB) command, the Retrieve Job Information (QUSRJOBI) API, the Change Job (QWTCHGJB) API, all job control commands, and functions that send signals from one job to another.

In situations where jobs swap user profiles, the current user profile identifies the profile under which the initial thread is running instead of the JUID.

The JUID is not used to make authorization checks from within a job. Authorization to perform a function is always based on the current user profile of the thread in which the function is called.

When a job is on a job queue or output queue, the JUID is always the same as the user name of the job and cannot be changed.

When a job starts, and at the start of any subsequent routing steps, the JUID is the same as the name of the current user profile of the job. While a job is active, the JUID can be changed in the following ways.

 

Parent topic:

Job characteristics

Related concepts
Proper authority