Load Copybook Choose Format

In the Load Copybook Choose Format You can select from a variety of Copybook Formats.

Copybook formats available include:

cb2xml XML Copybook

This is basically Cobol converted to XML. It is produced by the cb2xml package.

Cobol

Cobol Copybook source code.

XML

This option reads a XML file and creates a copybook for viewing / editing similar XML files

DB Csv Extract

Primary an extract from a DB2. It allows you to view / edit Delimitered extracts from DB2. See "DB CSV Copybook format" for more details.

Comma CSV

A description of a Comma Delimitered CSV file with Field names on a single line seperated by Commas.

Tab CSV

A description of a Tab Delimitered CSV file with Field names on a single line seperated by Tabs.

RecordEditor CSV Copybook

Both Comma and Tab Delimitered formats supported. This is a CSV file produced by the "Copy Copybooks" option of the LayoutEditor.
It is basically Field: Position, Length, Name, Description, Field Type, Decimal, the same as in the Record Definition screen. see "RecordEditor CSV Copybook Format" for more details.

The fields on the Import screen are

Field

Description

Copybook Type

The Type of Copybook.

Copybook

The copybook File to be imported.

Choose File Button

Display the file search screen so you can find the input file.

Split Copybook

Controls wether the copybook will be split into a Parent Record and separate Child-Records or stored as a single record. Options are:
No Split Record is stored as a single record.
On Redefine Record is split into separate records on the first redefine.
On 01 level Record is split into separate records on 01 level records.

Font Name

Font Name to use when editing this file. You would only need to enter a Font Name if you are editing a IBM Mainframe File on a PC (or editing a PC file on the mainframe). For UA / Canada / Australia the mainframe Font Name is CP037

Binary Format

Binary Format to use (i.e. wether Cobol comp fields are converted to a PC little Endian or Mainframe / Java / AIX big Endian format).

File Structure

File Format or structure. It actual chooses the File reader used. Unless you are using Native Mainframe, Fujitsu Cobol or Binary files, leave it as Defult Reader.

System

System to assign the Copybook to.

Go Button

Import the file