In the following example, the user prefix is
RYAN and
the input object module members
MAIN and
FN are
in the PDS called
RYAN.ACCOUNT.OBJ. A prelink map is to
be generated and placed in
'RYAN.ACCOUNT.MAP(SALES)'. The
load module will be placed in a PDS member called
GROUP.ACCOUNT.LOAD(SALES).
The linkage editor listing will be written to
RYAN.ACCOUNT.LIST(SALES).
CXXMOD OBJ(ACCOUNT.OBJ(MAIN), ACCOUNT.OBJ(FN))
POPT(MAP) LOPT(XREF, MAP)
LOAD('GROUP.ACCOUNT.LOAD(SALES)') MAP(ACCOUNT.MAP(SALES))
LIST(ACCOUNT.LIST(SALES))
In this instance, both the
Language Environment® stub
library and the partitioned data set (library)
SALESLIB are
available as the automatic call libraries. The linkage editor LIBRARY
control statement has the effect of concatenating any specified member
names with the automatic call library.