Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

The address selector (address operator)

&pagelevel(4)&pagelevel

As in COBOL, AID also offers the address selector ADDRESS OF. In AID, this is only reserved for the setting SYMCHARS=STD and only exactly in this form. In contrast to COBOL, ADDRESS generally or, e.g. in conjunction with ADDRESS IN, is not reserved in AID.

Compatibility to COBOL85 programs

A COBOL data field ADDRESS can still be referenced without any problems with AID. However, qualification is now only possible via ADDRESS IN and no longer via ADDRESS OF.

Example

%SET ADDRESS OF FELD INTO ZEIGER

The address of FELD is transferred to ZEIGER.