Requirements and Considerations for COBOL Copybooks and DBDs
Requirements and Considerations for COBOL Copybooks and DBDs
The createdatamaps utility imports metadata from COBOL copybooks and DBDs.
The following requirements and considerations apply:
You can import metadata from only one COBOL copybook for each sequential or VSAM data map that you create. You can import metadata from one COBOL copybook for each segment in an IMS data map.
If the copybook for a VSAM or sequential data map includes multiple 01-level records, the utility creates one record and one table in the data map for each 01-level record in the copybook. If the copybook for an IMS data map includes multiple 01-level records, the utility creates a record and a table for the first level-01 record in the copybook only.
You can import metadata from only one DBD for each IMS data map that you create. You can optionally overlay the DBD metadata with metadata from one COBOL copybook for each segment that the DBD defines.
For IMS data maps, if the DBD or COBOL copybook overlay includes field redefinitions, the utility creates a record only for the first combination of redefined fields.