Scheduler cross platform jobs may have a requirement to change the server passwords frequently which will affect changes to the JCL or the job base record. These changes can be involved depending on the number of jobs submitted to that server. In addition, a verification process must be done to ensure accuracy that all jobs have been altered. Using the Driver functions to alter the password will require only one change per server rather than making changes to all the jobs submitted to that server.
Here are the steps to set up this Driver procedure:
//PASWD01 DPROC MYPASS=
// DSET MYPASS=/PASSWORD='sched'/ &MYPASS
NODE='nodename'Note: The Driver procedure library is searched first before the other proclibs.
USER='username'
//STEP1 EXEC PASWD01
COMMAND='C:\script.bat'
***** ***************************** Top of Data ********
010000 NODE='nodename'
010101 USER='username'
=NOTE= EXPANDING PROCUDURE PASWD01
010201 PASSWORD='sched'
=NOTE= END OF DRIVER EXPANSION
020000 COMMAND='C:\ script.bat?
****** **************************** Bottom of Data *****
When the server password changes, the only required update is the password value to the Driver procedure.
Additional security can be placed to the Driver procedure library to ensure that the passwords have limited access.
Recommended reading for Driver functions is available in the CA Scheduler Job Management Interface Reference Guide, Chapter 4. Driver Procedures, Variable Parameters, and Functions.