Enable/Disable Address Check Option

PURPOSE:  The ADDRESS CHECK option controls ACCENT R's automatic checking of valid record addresses (used with the GET statement of the PM).  This command is valid in a CM, PM, SF and as a direct command.

SYNTAX

{ENABLE; DISABLE} ADDRESS CHECK [{IF; UNLESS} clause]

ENABLE

invokes automatic checking of valid record addresses.  This is the default state.

DISABLE

deactivates automatic checking of valid record addresses.

{IF; UNLESS} clause

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

NOTES:  Previously, with ADDRESS CHECK always in effect, developers were forced to declare the data in records, get a specific record, and look in its components (fields) for the information.  With the DISABLE ADDRESS CHECK option, a programmer can specifically address a byte offset that does not have to coincide with the beginning of a record.  This would allow a Process Module to GET a specific byte or bytes of data from a Data Set, whether they constitute a complete record or not.