Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

5.3.13 FjcobAlternateKey property

This property sets sub-keys for NetCOBOL indexed files.

Syntax

object.FjcobAlternateKey = string

object

This specifies object expressions that define references to objects.

string

This specifies the sub-key of NetCOBOL indexed file according to the format.

Format of string

[D] (pos,len [/pos,len] ...) [ [D] (pos,len [/pos,len] ...) ...]

D

Specify D when the data item as sub-key is duplicated with the other keys.

pos

This specifies positions of the sub-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 sub-key in NetCOBOL indexed file.
Specify it after pos delimiting with comma (,). 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

Note

  • The COBOL file system is required to process NetCOBOL files.

  • The specification bundled with ( ) is called a segment. To specify 2 or more segments, describe the segments successively or delimit them with blanks or tabs. For example D(1,2/4,4) D(10,8/20,1)