COPY IDMS Statements

COPY IDMS statements are the source manipulation statements for IDMS DML:
– [level-number] COPY IDMS [RECORD] copybook-name [REDEFINES data-item-name]

You must register a a separate copybook <copybook-name> for each COPY IDMS statement in the application. These copybooks should describe corresponding IDMS database records. They can be extracted manually from IDMS-preprocessed sources.

If the COPY IDMS statement depends on a schema or subschema:


the copybook name must be <schema_name>$<subschema_name>$SUBSCHEMA-<copybook>. SUBSCHEMA-CTRL and SUBSCHEMA-LR-CTRL are considered to be independent of schema/subschema and should not be prefixed.