How to convert PL/I copybook to COBOL copybook.
2 PL_COPYBOOK.
3 FIRST_FIELD CHAR(20).
3 SECOND_FIELD FIXED(5).
3 THIRD_FIELD FIXED(9,0).
3 FOURTH_FIELD FIXED(7,1).
3 FIFTH_FIELD BIT(8).
3 SIXTH_FIELD FIXED BIN(15).
How to convert PL/I copybook to COBOL copybook.
2 PL_COPYBOOK.
3 FIRST_FIELD CHAR(20).
3 SECOND_FIELD FIXED(5).
3 THIRD_FIELD FIXED(9,0).
3 FOURTH_FIELD FIXED(7,1).
3 FIFTH_FIELD BIT(8).
3 SIXTH_FIELD FIXED BIN(15).
I suggest looking each data item definition up in the PL/I documentation for the compiler you are using and translate that into the equivalent COBOL data item definition.
For example, FIRST_FIELD would be PIC X(20).
You will need to pay attention to details such as whether or not slack bytes are introduced in your data structure for alignment purposes.