gtpc2mjr | C/C++ Language Support User's Guide |
Every global tagname is assigned a unique 32-bit number that describes its
displacement in a global area, its length as defined, the number of the global
area in which it resides, and characteristics of online handling such as
keypointability, subsystem commonality, or uniqueness. The format of
the global tagname is shown in Table 53.
Table 53. Format of Global Tag Definitions
Bits | Description |
---|---|
0-3 | Reserved, and set to B'0000'. |
4-15 | Displacement of the item in its global area (a value between X'000' and X'FFF'). |
16-23 |
|
24 |
|
25 |
|
26 |
|
27 | Reserved for IBM use. |
28 |
|
29 | Reserved for customer use. |
30-31 |
|
The GNTAGH program does not convert non-relocatable symbols found in the GLOBALS assembly to global tags. Instead, these are defined in the c$globz.h header file with the same value to which they are equated to in GLOBALS. Non-relocatable symbols are usually defined like
@EXAMPLE EQU X'80'
If your installation defines global record or field names as non-relocatable symbols, and you require GNTAGH to convert them to global tags, you can do so by compiling GNTAGH with the CONVNONRELOC macro defined, either by adding
DEFINE(CONVNONRELOC)
to the compiler parameter list, or by adding
#define CONVNONRELOC