Copybook

Copybook Get Started >

Key Features

The Copybook Snap will consume one or more COBOL Copybook templates and a data source, and produce a JSON formatted message containing the structured payload.

Copybook templates are templates where the field definitions are derived from one or more copybooks. A copybook is a member containing either COBOL data descriptions, PL/I DECLARE statements, or HLASM data definitions. Every copybook template has a source definition.

The source definition describes the copybook members, their corresponding data sets, and how the field definitions are to be arranged in a template. The simplest form of source definition is a single copybook that contains all the record layouts required in their correct form. Single copybook source definitions can be referred to directly and a copybook template is built automatically from them.

The copybook template combines the layout information provided by the source definition with additional information supplied by the user pertaining to formatting, reformatting, record selection and data creation, to produce a logical view of the data on which these functions can be performed.

The Copybook Snap will consume one or more COBOL Copybook templates and a data source, and produce a JSON formatted message containing the structured payload. It supports the following.

  • Copybooks containing multiple 01 records, and payload containing multiple record types
  • Payload that is fixed length, CRLF delimited, LF delimited, continuous stream (no delimiter), or mainframe variable record length file (4-byte length field).
  • Big Endian or Little Endian payload
  • All standard COBOL types including packed and zoned decimal
  • COBOL array constructs such as occurs and occurs depending on
  • COBOL Redefines
  • Payload encoded in EBCDIC (or any encoding supported by Java)
Contact us Request Demo