Cobol File Relationship Projections

Statement Format Relationship Entities
COPY IDMS
[level-number] COPY IDMS name
Cobol File Includes Copybook File

Where member-name = <name>:

  • For resolved files: Copybook.Name = <member-name> [.ext]...
  • For unresolved files: Copybook.Name = <member-name>

COPY IDMS (file|module)

COPY IDMS 
[FILE | MODULE] name
Cobol File Includes Copybook File

Where member-name = <name>:

  • For resolved files: Copybook.Name = <member-name> [.ext]...
  • For unresolved files: Copybook.Name = <member-name>

COPY IDMS (record)

[level-number] COPY IDMS RECORD rec-name 
Cobol File Includes Copybook File

Where member-name = <rec-name>:

  • For resolved files: Copybook.Name = <member-name> [.ext]...
  • For unresolved files: Copybook.Name = <member-name>

COPY IDMS (subschema)

[level-number] COPY IDMS SUBSCHEMA- name
Cobol File Includes Copybook File

Where member-name = <schema-name> $<subschema-name> $<name>:

  • For resolved files: Copybook.Name = <member-name> [.ext]...
  • For unresolved files: Copybook.Name = <member-name>

COPY IDMS (subschema- ctrl)

[level-number] COPY IDMS SUBSCHEMA- CTRL
[level-number] COPY IDMS SUBSCHEMA- LR-CTRL
Cobol File Includes Copybook File

Where member-name = SUBSCHEMA-CTRL or member-name = SUBSCHEMA-LR- CTRL:

  • For resolved files: Copybook.Name = <member-name> [.ext]...
  • For unresolved files: Copybook.Name = <member-name>
IDMS- CONTROL SECTION
IDMS- CONTROL SECTION… [IDMS -RECORDS 
WITHIN [WORKING- STORAGE | LINKAGE]]
Cobol File Includes Copybook File

Where member-name = SUBSCHEMA- CTRL or member-name = <schema-name> $<subschema-name> $SUBSCHEMA- RECORDS:

  • For resolved files: Copybook.Name = <member-name> [.ext]...
  • For unresolved files: Copybook.Name = <member-name>