You can substitute a PL/I copybook for a COBOL copybook. This example shows how to add a
multiple-record
data map and import a PL/I copybook into it.
This example shows how to complete the following tasks:
Add a data map and import a PL/I copybook with multiple definitions of a field into it.
When you add the data map, you use a fixed-length binary data file of 58320 EBCDIC data records, which follow a single ASCII header record. Each record is 57 bytes long. This EBCDIC data file simulates reading data from an IBM mainframe system.
Test the data map.
This example uses the train5.dat and train5.pl1 files.