Explanation:
- To be viewed under the IOA Online "CONTROL-M Active Environment" (option 3) and in CONTROL-M/Enterprise Manager the sysouts must be previously recorded in CDAMs file during CONTROL-M post-processing actions.
- The sysouts are automatically copied in CDAM during the post processing of the jobs ONLY WHEN CONTROL-M/Restart is enabled AND the job scheduling definition specify AUTO-ARCHIVE Y in the Post Processing Section.
NOTES:
- Only the SYSDATA are archived (JESMSGLG, JESJCL, JESYSMSG), the SYSOUT are not archived
- The AUTO-ARCHIVE default value is NO when CONTROL-M/Restart is not installed and the parameter is even not displayed in scheduling definition.
Sample schedule extract OUT section:
Before CONTROL-M/Restart implementation
! OUT COND-TEST ODAT + !
! RETENTION: £ OF DAYS TO KEEP £ OF GENERATIONS TO KEEP !
After:
! OUT COND-TEST ODAT + !
! AUTO-ARCHIVE Y SYSDB Y MAXDAYS MAXRUNS !
! RETENTION: £ OF DAYS TO KEEP £ OF GENERATIONS TO KEEP !
- After the implementation of CONTROL-M/Restart, all the schedule definitions involved need to be modified and the AUTO-ARCHIVE parameter must be set to AUTO-ARCHIVE Y
- To massively set AUTO-ARCHIVE Y in all schedule definition, use the CTMTBUPD utility.
Native JCL in ctm.JCL(CTMTBUPD)
Sample JCL to "force" AUTO-ARCHIVE to "Y" in schedule library specified in the SET SCHEDULE
// JCLLIB ORDER=&JCLLIB
// INCLUDE MEMBER=&IOASET
//*
// SET SCHEDULE=schedule library <<<<<<<<
//*
//CTMTBUPD EXEC PGM=CTMTBUPD,REGION=®
// INCLUDE MEMBER=&IOAENV
//*
//DAALOCIN DD DISP=SHR,DSN=&DAALOCIN(ALCMTUPD)
//CTMSCH DD DISP=OLD,DSN=&SCHEDULE
//DAPRINT DD SYSOUT=&OUT
//SYSUDUMP DD SYSOUT=&OUTDUMP
//*--------------------------------------------------------------------
//*- Force AUTO-ARCHIVE=YES
//*--------------------------------------------------------------------
//DAINPRM DD *
SEL
AUTOARC=Y
ENDSEL
//
Once the AUTO-ARCHIVE has been set to Y in the schedule definitions, Download the updated tables to the CONTROL-M/Enterprise Manager using the CTM/EM Desktop.
All SYSDATA for the subsequent run of the job can be viewed under IOA ONLINE Active Environment and under CONTNROL-M/Enterprise Manager.