Skip to main content

ZaMode

ZALLOCATE (ZA) and ZDEALLOCATE (ZD) behavior.

Synopsis

[Miscellaneous]    ZaMode=n

Description

The value n determines how the ZALLOCATE (ZA) and ZDEALLOCATE (ZD) commands behave, according to Caché rules or DSM-11 rules:

  • 0 chooses Caché rules, which means that ZA and ZD behave exactly like LOCK + and LOCK -.

  • 1 chooses DSM-11 rules, which means that ZA locks can only be unlocked by ZD and LOCK + locks can only be unlocked by LOCK.

For details, see the section “DSM-11 Language Compatibility” in the “Open M Language Compatibility” chapter of Using Caché ObjectScript.

Examples

ZaMode=0

Range of Values

0 or 1. The default is 0.

Management Portal

On the page System Administration > Configuration > Additional Settings > Compatibility, in the ZaMode row, select Edit. Choose true (selected) or false (cleared).

FeedbackOpens in a new tab