<<

Contents

Search

>>

 

OPENMODE

 

 

Instruction

 

 

Syntax:

OPENMODE[(<Name of Index File>)] = <Openmode>

 

<Name of Index File>

= <INDEX FILE>

<Openmode>

= <NUM-EXPRESSION>

 

 

Meaning:

Defines the openmode for Index Files.

 

By default, openmode is set to 1 for all Index Files at the start of the program. With OPENMODE another Openmode can be specified. The new mode takes effect when the Index File is opened. Therefore the instruction OPENMODE only has a meaning in the Macro before Index-Open or after the instruction ICLOSE.

 

If no Index File is specified, the openmode applies to all Index Files of the program.

 

Parameter:

Name of Index File

Name of Index File

 

Openmode

0 = single user

1 = multi user

2 = exclusive

otherwise = multi user

 

Sample:

OPENMODE(CUSTOMER) = 2

 

See also:

IOPEN

ICLOSE

PATH

NEWNAME