Schema Options for COBOL Copybooks - 17.1

Inline Discovery

Version
17.1
Language
English
Product name
Trillium Discovery
Title
Inline Discovery

The following table describes the schema options for COBOL copybook data sources:

Option Description

Redefines

Specify how the data source represents COBOL copybook redefines clauses. Select either All (the default) or First as follows:

  • Select All to represent all data redefinitions (including nested redefines). If this option is selected and the system encounters a REDEFINES clause, it removes it and keeps both representations of the data in the copybook. The data file will be populated to match the copybook.
Note:

You cannot selectively pick REDEFINES clauses to describe data areas. If this is the case, modify your copybook prior to creating the data source.

  • Select First to ignore all redefines and retain only the first representation of the data in the copybook.

Data Alignment

Specify whether the 1-byte (the default) or 2-byte method is used to store the data. The data alignment method specifies how data is stored and depends

on the compiler that generates the application that created the data.

Review the data in the Data Preview to see which setting works best for the file. If you select the incorrect setting, often the record contents after the COMP field will be misaligned.

Byte Order

Specify the order of bytes in binary word (16 bit) values). Either Big-Endian (the default) or Little-Endian.

Record Termination

Specify how end of lines are represented in the data source.

Note:

The Data Preview will attempt to display end of line characters. These characters will differ depending on what font is selected.

Character Encoding

Specify the character encoding for the data. UTF-8 is the default.

Note:

EBCDIC data is translated into a correct ASCII representation on load. Generally, UNIX COBOL files will be ASCII and IBM mainframe data will be EBCDIC.

National Character Encoding

Specify this when your COBOL copybooks define national data items holding Unicode strings or the source data compiler options are set to NSYMBOL(NATIONAL) or CODEPAGE.

Treat unsigned comp-3 fields as comp-6

Select this option only if your COBOL compiler supports comp--3 without an embedded sign.