LOCK

<< Click to Display Table of Contents >>

Navigation:  Gekko User Manual > Gekko statements >

LOCK

Previous pageReturn to chapter overviewNext page

LOCK is used to set a databank non-editable, so that the data inside cannot be changed, but only read. Per default, databanks are opened non-editable, unless you use OPEN<edit>. See also the inverse UNLOCK statement.

 


 

Syntax

 

lock databank;

 


 

Examples

 

lock mybank;

 

This locks mybank (sets it non-editable, provided that it is unlocked already).

 


 

Related statements

 

UNLOCK, OPEN