The following hierarchy is used to resolve a referenced and currently
undefined symbol. In all cases, the symbol is only defined if it is
contained in the input from this process or in other future input:
- The undefined name is an S-name, for example SNAME.
If the NONCAL command option is in effect, the partitioned data
sets concatenated to SYSLIB are searched in order as follows:
- If the data set contains a C370LIB-directory created using the Object Library Utility,
and the C370LIB-directory shows that a defined symbol by that name
exists, the member of the PDS containing that symbol is read.
- If the data set does not contain a C370LIB-directory created using
the Object Library Utility and
the reference is not to static external data, the member or alias,
with the same name as SNAME, is read.
- The undefined name is an L-name.
If the NONCAL command option
is in effect, the partitioned data sets concatenated to SYSLIB are
searched. If the data set contains a C370LIB-directory created using
the Object Library Utility,
and the C370LIB-directory shows that a defined symbol by that name
exists, the member of the PDS indicated as containing that symbol
is read.
For more information about the Object Library Utility,
see z/OS XL C/C++ User's Guide or Object library utility.