How can I specify different userids within my ESP Application for jobs that require different authorization?
search cancel

How can I specify different userids within my ESP Application for jobs that require different authorization?

book

Article ID: 54340

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

How to specify userid in Application.

Example:


Job A - Protected RACF userid = SYSP
Job B - Protected RACF userid = SYSP
Job C - Protected RACF userid = SYST

Resolution

There are a few options:

1. Keep the jobs for a particular user in it's own separate Event owned by that user (or have the USER statement in the Event).

2. Use a USER EXIT as described in the security manual. See EVENTSAF.

3. Use a "SECURE variable" and code the JCL with symbolics for the USER and PASSWORD as parameters in the job.

//PRODJOB1 JOB 113100000,'xxxx',
// MSGCLASS=C,CLASS=A,NOTIFY=CYBUSER,
// USER=%JOBUSR,PASSWORD=%JOBPWD

In a secure symbolic library, code the following and use the SYMLIB operand in the event definition. See Reference Guide for details on the SYMLIB command.

JOBUSR='CYBUSER'
JOBPWD='SECRET'
SECURE JOBPWD