We use a driver proc for our CA scheduled jobs to document environmental stats at the time of the run.
I am trying to find a way to include the JCL DDname used (basically the job definition value) for the run but do not have a variable to acquire the field.
Any ideas?
Our PROC currently pulls the following:
//DRVBANNR DPROC
//*** SCHEDULER INFORMATION:
//*** CURRENT DATE: &C_DATE CURRENT JUL DATE: &C_JDATL
//*** CURRENT TIME: &C_TIME
//*** CURRENT MONTH: &C_MONTH CURRENT DOW: &C_DAY
//*** AUTOSCAN DATE: &C_AUTDL AUTOSCAN TIME: &C_AUTIM
//*** SCH JOBNAME: &C_JNAME SCH SCHDNAME: &C_SNAME
//*** SCH JOBNUMB: &C_JNO SCH SEL RC: &C_SELRC
//*** SCH DT TBL: &C_DTAB SCH CALENDAR: &C_CAL
//*** JOB DATE: &C_JOBDL SYS ID: &C_SYSID
//*** RUN SCH JUL DT: &C_RUNCL
//*** COMMAND: &C_CMD
//*** PREV CC: &C_ABCC PREV JOB NUM: &C_SJES#
//*** ABEND CNT: &C_ABCT ABEND STEP: &C_ABSTP
//********************************************************************