Controlling the user ID of submitted jobs

Tivoli Workload Scheduler for z/OS can submit three kinds of jobs:

Normal production jobs

Tivoli Workload Scheduler for z/OS submits production jobs to the internal reader, or starts started tasks, when all prerequisites are fulfilled. The JCL comes from the JS file (EQQJSnDS), the JCL job library (EQQJBLIB), or the job-library-read exit (EQQUX002). You can determine the authority given to a job or started task in several ways:

Stand-alone cleanup jobs

Their purpose is to run data set cleanup actions and can be submitted when:

Activate exit EQQUX001 to make sure that the submitter of the stand-alone cleanup job is the same as the submitter of the original job, otherwise the stand-alone cleanup job will run with the same authority as the controller or the tracker that submits it. The current EQQUX001 sample contains a procedure to set the RUSER value according to the value of the USER= keyword in the jobcard of the original job.

Dialog jobs

When you submit Tivoli Workload Scheduler for z/OS batch jobs from your TSO address space, they go through normal TSO functions. This means that you can submit any job allowed by TSO/E. Tivoli Workload Scheduler for z/OS makes no authority checks when the job is submitted.

For the Tivoli Workload Scheduler for z/OS batch job to run successfully, it must be authorized to reference the data sets it uses. The submitting TSO user might also need authorization to use a specific function. For example, a user could have update authority to the AD file but not have the authority to use the AD mass update function.