The Input tab has the following sections.
Source
These options specify the location of the binary data
.Option | Description |
---|---|
Predefined file | Select this option to specify a path to a binary data file that contains the data you want to read into the PDI stream. You can type any VFS path directly into the File field, including any variables, or you can click the Browse button to locate the binary data file. |
File defined in a field | Select this option to read the names of the binary files from a field name in the previous step. Select the name of the field from the drop-down list. |
Data already loaded in a binary field | Select this option if the binary data is passed into the step from a binary field on the PDI stream. Select the step generating the binary field from the drop-down list. You can use this option to prepare the output of records by another Copybook Input step. Using this method, you can selectively process fields and avoid conversion errors in definition files that include REDEFINES. See the Store record as a binary field option in the Options tab. |
Schema
These options define the location of the copybook definition file and include mapping options for the binary data files.
Option | Description |
---|---|
COBOL Copybook file path | Specify the file path to the copybook definition file. You can enter any VFS or SFTP file path or click Browse to open the system file browser. After selecting a file, click Validate to verify that the definition file can be accessed and parsed. |
COBOL Copybook line structure | Specify the line structure of the definition file. |
Binary Format
Use these options to describe the binary format of the selected file.
Option | Description |
---|---|
Source architecture | Select the machine architecture of the binary data source files. The values are: |
Source charset name | Select the character encoding set of the binary data file. Mainframe EBCDIC is typically encoded using IBM037 or cp1047 character sets. For more information about character sets and their aliases, see Supported Encodings in the Oracle® documentation. |
Packed decimal (COMP-3) sign convention | Select how COMP-3 Packed decimals are parsed from the binary data
as it relates to sign convention. For a given field, if validation occurs and fails,
a conversion error will occur at runtime. See Use Error Handling for details.
|