Processing a Single COBOL Structure using EBCDIC Binary File input from a Variable Blocked File
This example demonstrates using a single record format described by a single COBOL Structure being processed from a binary file to a JSON formatted output for postprocessing by a downstream snap.
First, we configure the File Reader Snap to accept the data for processing. Provide the filename and leave the other settings with default values.
Next, we configure the Cobol Copybook Parser Snap with the Copybook structure file and the settings required to parse the input data.
Snap configuration settings:
|
Validate the pipeline. You can preview the JSON formatted output: