How element level numbers are set in CA Datadictionary copybooks

Document ID : KB000058583
Last Modified Date : 12/03/2018
Show Technical Document Details
Introduction:

Description:

CA Datadictionary copybooks contain a COBOL-like layout of elements; these are assigned level numbers. This document explains how these are established.

Solution:

The level numbers used by copy books are set by two parameters. CPYLVST indicates the start level for the first element in a copybook; CPYLVIN indicates the increment to use for each level of subordinate elements. These are specified in the DDSYSTBL macro that builds the Datadictionary System Resource Table (SRT). The SRT describes the processing options which form the basis of the Datadictionary operation.

For example, review this example of a copybook in the dictionary:

 
                      Copybook Display========================== T O P ===============           02  C2201-DL-SUSP-PERIOD-ELEMENT.               03  C2201-CRT-CASE-DEF-NO.                   04  C2201-COURT-ID                                   PICTURE X(2).                   04  C2201-COURT-CASE-NO                                   PICTURE X(6).
 

In the above, these are set to the default values of CPYLVST=02 and CPYLVIN=01. To modify these parms in the System Resource Table, you would need to:

  1. Display the DDSAM01 member in the SAMPJCL library.
  2. Modify the job that assembles and link edits the System Resource Table (the job control statements for the assembly and link-edit need to be modified to meet your site standards).
  3. Execute the job that assembles and link edits the System Resource Table.

If you want to see the contents of the SRT before modifying it, you can do so in CICS by using the command DBUT M=DDSRTLM. If these values are customized, after an upgrade, the SRT will need to be reviewed and reassembled with the previous customized values.

Instructions:
Please Update This Required Field