The following hierarchy is used to resolve a referenced and currently
undefined symbol.
- The undefined name is an short name, for example SNAME.
- If the NONCAL command option is in effect, the partitioned data
sets that are concatenated to SYSLIB are searched in order as follows:
- If the data set contains a C370LIB-directory created using the z/OS® XL C/C++ 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 z/OS XL C/C++ 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 long name.
- If the NONCAL command option is in effect, the partitioned data
sets that are concatenated to SYSLIB are searched. If the data set
contains a C370LIB-directory created using the z/OS XL C/C++ 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 z/OS XL C/C++ object library utility, see Object library utility.