Why doesn't a DD Source Language Generator COBOL definition start out with a "01" Level instead of a "02" Level ?
Datacom/DB
Datacom/AD
z/OS
The settings for the starting level number, the increment number, and even the number of levels of indentation are all controlled in the Datadictionary SRT (DDSRTLM). Here are the macro fields and explanations as noted in the DDSYSTBL description:
CPYLVIN= Specify the increment between different level numbers for PL/I or COBOL copybooks.
Valid Entries: A numeric value from 01 through 99
Default Value: 01
CPYLVST= Specify the default copybook starting level number for a COBOL or PL/I copybook that was generated by the Datacom Datadictionary Source Language Generation function of DDUTILTY.
If you are using copybooks for SQL processing, enter 01 and define the copybooks at the beginning of the program source code.
Valid Entries: A numeric value from 01 through 99
Default Value: 02
CPYNDLM= Specify the maximum number of levels of indentation for COBOL or PL/I. If this limit is exceeded for a particular copybook, all levels above the limit are aligned on the maximum.
Valid Entries: A numeric value from 01 through 09
Default Value: 04
If you want to have different values for your generated copybook, you will need to change these in the DBSYSID macro, reassemble the DDSRTLM, and then rerun the DDUTILTY job.
As always, please contact Broadcom support for Datacom if you have further questions.