UPDATE

UPDATE  

ON

OFF

This command is used to control database updates performed by a Natural program.

UPDATE ON Database updates are allowed.
UPDATE OFF Database updates are not allowed.

A database update is not performed when a program with an UPDATE, STORE or DELETE statement executes. Instead, a NAT1010 warning message is issued during the next screen I/O.

In addition, a database loop that contains an UPDATE or DELETE statement does not place the records in hold status (no read with hold).