Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

COBOL Data Definitions

COBOL Data Definitions

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:
  • The special level numbers 66, 77, and 88
  • USAGE
    clauses at a group level
  • INDEXED BY
    clauses
  • POINTER
    and
    PROCEDURE-POINTER


Updated February 12, 2020