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.