Was this helpful?
ACUCOBOL-GT Version 7
COBOL (COmmon Business Oriented Language) is a second-generation programming language. This ACUCOBOL-GT connector uses the native Acucobol v7.0 API.
The ACUCOBOL-GT Version 7 connector is supported on Windows and Linux platforms.
Connector-Specific Notes
Append Mode and Sequential Files: The Append mode is not available for sequential file types, because the Vision file system API does not support this mode. So for sequential files, the only available mode is Replace. Append mode is supported for indexed and relative files.
Connector Parts
Connector parts are the fields you configure to connect with a data source or target. The fields that are available depend on the connector you select.
For a list of all parts for source connectors, see Specifying Source Connector, Parts, and Properties.
For a list of all parts for target connectors, see Specifying Target Connector, Parts, and Properties.
Connector Properties
Specifying source or target properties is important for you if:
Your connector type requires you to define properties.
Upon viewing your source or target data, you learn that the field names and data appear incorrectly, either in the wrong record, field, or containing the wrong data.
You can specify the following source (S) and target (T) properties:
Property
S/T
Description
CodePage
S/T
This translation table determines which encoding to use for reading and writing data. The default is ANSI, the standard in the US.
Allow duplicate keys
T
Allows duplicate records in an indexed type target file. If true, duplicate records are allowed; if set to false, a "duplicate record found" error is returned for all duplicate records.
Although this property is visible for relative and sequential file types, it is NOT supported (the default value is true for these types).
FileType
S/T
This connector has one property, and the setting is not optional. The default is indexed.
From the list, choose one of the following file types:
indexed (default) – Contains records that have one or more key fields. Records in an indexed file are ordered by ascending values in these key fields. Each key of an indexed file represents an ordered sequence by which the records can be accessed. One of the key fields, known as the primary key, must contain a unique value for each record and is used to identify records uniquely.
relative – Contains records that are identified by their record number, where the first record in the file is record number one. Relative files are ordered by ascending record numbers.
sequential – Ordered by the historical order in which records are written to the file. For an important note on this file type, see Connector-Specific Notes.
If you leave the file type set to default and then select a relative or sequential file, an error displays that it cannot open the data source. Select the FileType setting first and then select your source or target file.
To append indexed data to an existing target file, that file must also be indexed.
Supported Data Types
The following data types are supported:
Alphabetic
Alphanumeric
Comp
Comp-1
Comp-2
Comp-3
Comp-4
Comp-5
Comp-6
Comp-N
Comp-X
Display
Display sign leading
Display sign trailing
Double (8 bytes)
Float (4 bytes)
Last modified date: 12/03/2024