%%GLOBAL and %%LIBSYM values are stored in text files. In these text files:
This shows an example of symbol file contents:
; some comment ABC=ABC def="ABC DEF" Group = XYZ Parm2 = "'123 567'"
The environment variable DAGLOBAL specifies the folder for the text file(s) used by %%GLOBAL. In a similar way, for %%LIBSYM members, the folder name is extracted from an environment variable or from the catalog.
This example shows resolution of %%GLOBAL and %%LIBSYM control statements:
Statement/Expression | Resolves As… |
---|---|
//* %%GLOBAL MBRNAME |
The environment variable DAGLOBAL specifies the location of the MBRNAME text file. |
//* %%LIBSYM DATA.SET.NAME %%MEMSYM MBRNAME |
The environment variable DATA.SET.NAME or DATA.SET.NAME as defined in the catalog specifies the MBRNAME text file location. |