HP System Dictionary/XL COBOL Definition Extractor (32257-90001)
4-:4
3 Source Generation
Overview
You can request COBOL source generation by specifying the GENERATE command. When you specify
this command, SDCDE veriļ¬es that the given entity exists for the given entity type and then prompts you
for additional information before starting the source generation process.
Each entity type requires different information for the source generation process. The following sections
describe the prompts that SDCDE issues for the valid entity types.
Suppose we have entities ELEMENT-1, ELEMENT-2, ... ELEMENT-N that are related as follows:
ELEMENT-1 contains ELEMENT-2
ELEMENT-2 contains ELEMENT-3
ELEMENT-3 contains ELEMENT-4
.
.
.
ELEMENT-N-1 contains ELEMENT-N
When COBOL source generation completes for ELEMENT-1, the COBOL record looks like the following:
01 ELEMENT-1
05 ELEMENT-2
10 ELEMENT-3
15 ELEMENT-4
.
.
.
40 ELEMENT-N-1
45 ELEMENT-N
For each iteration of the contains relationship, the level number increases by 5.