The COBOL copybook that you use to create a Data Processor transformation can contain data definitions of any complexity. The COBOL copybook and input must comply with data definition rules described in this section.
Supported Data Definitions
The COBOL import supports data definitions of any complexity. For example, the data definitions can use the packed decimal (
COMP-3
), binary (
COMP-1
,
COMP-2
, or
COMP-4
), and logical decimal point (
99v99
) data types. They can contain features such as
REDEFINES
,
OCCURS
, and
OCCURS DEPENDING ON
clauses.
Data Definition Rules
A COBOL data definition must comply with the following rules:
No more than 72 characters for each line, and no text beyond column 72
The first line must be a remark, with a
*
in column 7, or it must start with a level number
The first level number must be in column 1 or 8.
Unsupported Data Definitions
The Data Processor transformation does not support the following COBOL data definitions: