Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
minLevel1
maxLevel2
absoluteUrltrue

Articles in this section

Child pages (Children Display)

Overview

You can use this Snap Pack for consuming one or more COBOL Copybooks and a data stream to produce a JSON formatted message containing the structured payload.

Supported Copybook Structures and Payloads

  • Copybooks containing multiple 01 records, and payloads containing multiple record types.

  • Payloads with the following characteristics:

    • Fixed length.

    • CRLF delimited.

    • LF delimited.

    • Continuous stream (no delimiter).

    • Mainframe variable record length file (4-byte length field with a 2-byte length which is the length of the payload plus the 4-byte RDW followed by 2 bytes of hex ‘00’s).
      A variation on the mainframe variable record length file where:

      • A 4-byte length consisting of a 2-byte length field that is byte-swapped for intel systems. This does not include the length of the 4-byte word. To be specific, it contains the length of the payload following the 4-byte length field.

      • The last two bytes of the length field are hex ‘00’s.

  • 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 (Extended Binary Coded Decimal Interchange Code) or any encoding supported by Java.

Prerequisites

None.

Supported Versions

  • Cobol Mainframe - All versions.

  • Cobol Open Systems - All versions.

Supported Applications

None.

Snap Pack History

Multiexcerpt macro
hiddenfalse
nameCopybook_SPH
fallbackfalse

Release

Snap Pack Version

Date

Type

Updates

4.30August 2022

main111

11 Aug 2022 

Stable

Upgraded with the latest SnapLogic Platform release.

4.29

main108

14 May 2022 

Stable

Upgraded with the latest SnapLogic Platform release.

4.28

main100

12 Feb 2022 

Stable

Upgraded with the latest SnapLogic Platform release.

4.27

main93

13 Nov 2021 

Stable

Upgraded with the latest SnapLogic Platform release.

4.26

main88

Stable

Introduced the Copybook Snap Pack that enables you to consume one or more COBOL Copybooks and a data stream to produce a JSON formatted message containing the structured payload. This Snap Pack contains the following Snap:

  • Cobol Copybook Parser