Versions Compared

Key

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

...

  • “Do not split” will consider the entire copybook as a single record. Any sub-records defined in the copybook also become sub-records in the target system.

    • For the copybook in the example above, a single record named ‘Root’ is created and within it are the two records ‘WS-RECORD-A’ and ‘WS-RECORD-B’. The file has both the records, and when either WS-RECORD-A is present or WS-RECORD-B is present, automatically, both the sub-records are made Nullable.

    • When “Do not split” is configured, there is often a need to separate records based on some selection criteria. To select only the records that can be processed with the configured copybook, we recommend you to use “Record Selector”. For example, in cases where you have a single EBCDIC file that contains multiple records defined by multiple copybooks, the copybook you are configuring in the pipeline will have to select only the records that match the structure defined by the copybook.

    • In the example above, it’s highly recommended to not use ‘Do not Split’ option, but to go with ‘Split on REDEFINE’ option.

  • “Split on REDEFINE” will split the copybook at every REDEFINE (top level) into separate records.

    • If you have selected ‘Split on REDEFINE’, you must configure Record Association. This will allow different records that are split at REDEFINE to be associated with record types.

...