Previous Topic

Next Topic

Book Contents

Book Index

CTMRJDS Job – Creating Job Dataset Cross-Reference Report

After you run the CTMJDS job (referred to on CTMJDS Job– Generating Job Dataset List) and generate the Job Dataset list, you can run the CTMRJDS job to provide a cross reference report, by dataset, of jobs that access the data set. The CTMRJDS utility also includes list and cleanup functions, shown in Table 142 and Table 143. The example shown in Figure 44 incorporates both list and cleanup functions.

Table 142 §Restart§CTMRJDS List Function Parameters

Parameters

Description

LIST

Indicates start of a list of data set names to be included in a report. Optional when the input parameters consist only of report requests. Mandatory when the report requests follow a CLEANUP statement block.

Syntax:

LIST=DSN

DSN

Data set name for the files that will appear on the report. DSN cannot exceed 44 characters and mask characters are permitted.
Example:
DSN=C?123*

Regardless of the length of the data set name, this statement produces a list that includes all data sets that have names

  • beginning with "C"
  • followed by any single character
  • followed by the characters "123"

REPTYPE

Optional. If no value is specified, SHORT (the default) is presumed to be the value. Valid values are

  • SHORT – produces a data set report that includes the following columns:

    - DATA SET NAME

    - JOBS

  • LONG – produces a data set report that includes the following columns:

    - DATA SET NAME

    - TABLE

    - JOBNAME

    - PROCNAME

    - STEPNAME

    - STEPNUM

    - DDNAME

    - VOLSER

Table 143 §Restart§CTMRJDS Cleanup Function Parameters

Parameters

Description

CLEANUP

Directs the cleanup of files by data set name or job name.
Syntax:
CLEANUP=DSN
CLEANUP=JOB

DSN

Data set name to which all references in the Control-M Statistics file will be deleted. DSN cannot exceed 44 characters and mask characters are permitted.
Example:
DSN=C?123*

Regardless of the length of the data set name, this statement produces a list that includes all data sets that have names

  • beginning with "C"
  • followed by any single character
  • followed by the characters "123"

JOB

Job name to which all cross-references in the Control-M Statistics file will be deleted. JOB cannot exceed 8 characters and mask characters are permitted.
Example:
JOB=C?123*

Regardless of the length of the job name, this statement produces a list that includes all jobs that have names

  • beginning with "C"
  • followed by any single character
  • followed by the characters "123"

Parent Topic

§Restart§CTMRJDS – produce job dataset cross-reference report