This property sets the main key when the output file is NetCOBOL indexed file.
Syntax
object.FjcobPrimeKey = string
object
This specifies object expressions that define references to objects.
string
This specifies the main key of NetCOBOL indexed file according to the format.
Format of string
[D] (pos.len [/pos.len] ...)
D
Specify D when the data item as the main key is duplicated with the other keys.
pos
This specifies positions of the main key in NetCOBOL indexed file. Specify the position in a relative position (the number of bytes that starts from 0) from the head of the record of the data item of a key.
len
This specifies length of the main key in NetCOBOL indexed file.
Set the length of the main key (FjcobPrimeKey property) and sub-key (FjcobAlternateKey property) to make the total of 254 bytes or less.
/
To specify 2 or more non-continuous keys as a key, delimit it with"/".
Description
This specifies the main key when the output file is NetCOBOL indexed file (OutputFileType=3). The main key cannot be omitted.
The data format of main key is ASCII code and always sorted in ascending order.
Note
The COBOL file system is required to process NetCOBOL files.