Causes the Compiler to output information on data items.
Syntax:
>>-.---.-.--------DATAMAP-.----------.--.---><
+-/-+ | +-(option)-+ |
+-NO-DATAMAP-------------------+
Parameters:
- option
- Displays the Address column or the Offset column as part of the data item information.
- ADDR
- Displays the Address column, which shows the address of the data item, as an offset from the beginning of the program's data area. This option is only applicable to native code.
- OFFSET
- Displays the Offset column, which shows the offset value of each data item from the beginning of its 01 level group.
Properties:
Default:
|
NODATAMAP
|
Phase:
|
Syntax check
|
$SET:
|
Initial
|
Dependencies:
DATAMAP(OFFSET) is automatically set when compiling to managed code when you specify DATAMAP without any parameters.
DATAMAP(ADDR) is automatically set when compiling to native code when you specify DATAMAP without any parameters.
Comments:
This directive causes the check phase of the Compiler to output information on the data items; both those that you have specified, and those automatically generated by the Compiler, such as the data area for the RETURN-CODE special register.
The information is output at the end of the list file. The information on the data items is output in the same order as the items are encountered in your program by the Compiler. The first line is the program-id of the program to which the data items belong. For each data item, the following information is listed:
ss xxxx cccccccccc R E G
where the variables are: