USER Parameter


Note! USER parameter can be coded only at the job level.

The USER parameter is used to identify who submits (user-id) the job. Userid is the valid user in the system. USER is a keyword parameter and is optional.

USER and PASSWORD parameters are required in the below cases -

  • JOBs submitted by one user for another user.
  • JOBs are executed at another network node that uses RACF protection.
  • Batch job submitted through an input stream.

Syntax -

USER=[(]user-id[)]
User-id Specifies the user-id of who submits the job.

Default and overrides -

RACF assigns the user-id of who submits the job if the USER parameter is not coded.

Examples -


Scenario1 - Submitting a JOB with USER.

//MTHEXMP1 JOB (MTH007),'PAWAN Y',USER=MTHUSR

The job submits with the user-id as MTHUSR.

Scenario2 - Submitting a JOB with USER and password.

//MTHEXMP1 JOB (MTH007),'PAWAN Y',USER=MTHUSR,PASSWORD=ABCD9

The job submits with the user-id MTHUSER and password ABCD9.