§Restart§CTMRJDS – produce job dataset cross-reference report
The CTMRJDS utility (sample job in the CTM JCL library) provides a cross-reference report, by dataset, of jobs that access the dataset.
For the report to be generated, you must first generate a list of data sets accessed by the job. This list can be generated in either of the following ways:
Use the Job Dataset List utility (Online Utility option R3, described in the Control-M/Restart User Guide).
Use the CTMJDS supplied job in the CTM JCL library (described below) to generate the list for one or all of the jobs in a table.
Use the AUTOXREF=Y Control-M/Restart installation parameter (see the Control-M for z/OS Installation Guide). When this parameter is used, and if the Control-M/Restart Prevent NCT2 facility is invoked, the job-data sets cross reference statistical information is accumulated during regular execution of the job.
In either case, the Job Dataset list is generated in the Statistics file. After you have created the Job Dataset list, the CTMRJDS procedure, described on CTMRJDS Job – Creating Job Dataset Cross-Reference Report, is used to produce the cross reference report.