refers generically to data definitions for records, segments, fields, keys, and other items from a data source that you import into a data map to define the layout of the data.
Import a copybook to eliminate the need to manually define the layout of these items in a data map.
You can import a copybook when you add a data map or after you add it. You can also import one or more copybooks into a record or segment in a data map to add data definitions to the record or segment.
After you import a copybook, it is stored on the local system. You can then re-import that copybook from the local system.
If a copybook contains a record or field that duplicates a record or field that is already in a data map, you can select options to indicate how to handle the duplicate item. For example, you can choose to import, overwrite, or skip the item, or stop the import.
Use example data maps and copybooks in the examples folder in the PowerExchange installation directory to learn how to import the following types of copybooks into data maps:
COBOL copybook
COBOL copybook with REDEFINES statements
PL/I copybook with multiple definitions for a field