Enable/Disable DBL Read Only Option

PURPOSE:  This ENABLE/DISABLE option controls how ACCENT R accesses Data Base Libraries (DBL).  This command is valid in a CM, PM, SF and as a direct command.

SYNTAX

{ENABLE; DISABLE} DBL READ ONLY [{IF; UNLESS} clause]

ENABLE

causes DBL object updating to be suppressed for faster processing in a multi-user environment.  This option is recommended for static DBL’s which are part of production applications.

DISABLE

allows DBL objects to be updated in the DBL.  This is the default state.

{IF; UNLESS} clause

specifies certain criteria that must be met for the ENABLE or DISABLE command to take effect.

EXAMPLE

*ENABLE DBL READ ONLY
*DISABLE DBL READ ONLY

NOTES:  By enabling this option prior to issuing the USE DBL command or IN DBL clause, ACCENT R will not open the DBL for write access.  The record count field and the number of deleted records in a Data Set will not be updated.  This will effect @RECORDS and @DELETED_RECORDS which are both saved in the Data Sets DBL entry.