<<

Contents

Search

>>

 

READLOCK

 

 

Instruction

 

 

Syntax:

READLOCK <Name of Index File> | ALL

 

<Name of Index File> = <INDEX FILE>

 

Meaning:

The instruction READLOCK only has a meaning in the multi-user operation (OPENMODE = 1).

 

A data record of an Index File can only be read if it has not been locked by another user.

 

READLOCK ALL enables the Record-Locking for all Index Files.

 

By default, READLOCK ALL applies at the start of the program.

 

Parameter:

Name of Index

Name of Index File

 

Sample:

READLOCK KUNDEN

 

See also:

NOREADLOCK

HOLDLOCK

NOHOLDLOCK

OPENMODE