Setting offset variables
The value of an offset variable can be set in any one of the following ways:
- By an ALLOCATE statement
- By assignment of the value of another locator variable, or a locator value returned by a user-defined function
- The NULL, SYSNULL, ADDR, ENTRYADDR, OFFSETADD, OFFSETSUBTRACT, OFFSETVALUE, or OFFSET built-in function
If no area variable is specified, the offset can be used only as a locator qualifier through use of the POINTER built-in function.