Perform the following steps to modify the JCL for adding routines
to a Fortran LIBPACK.
These steps use the AFHWDERA, AFHWDERB, AFHWDVRA, and AFHWDVRB sample
jobs.
- Change #GLOBALCSI to the data set name of your global CSI data
set.
_________________________________________________________
- Change #TZONE to the name of your target zone.
_________________________________________________________
- Modify the UCLIN step to tell SMP/E to add the routines you want
to include in your tailored LIBPACK.
- Remove the ADD statement for each routine you are not adding to
your tailored LIBPACK.
- If you run the sample jobs shown in Table 1 without modifying them,
you receive a full LIBPACK, including all the required and optional
LIBPACK modules.
- If you attempt to add a routine that is already in the LIBPACK,
you receive an SMP/E error message.
_________________________________________________________
- The LINK-EDIT step performs the actual link edit of the tailored
LIBPACK by including the routines you specify.
The INCLUDE statements
you keep in the LINK-EDIT step must match the routines you want to
include in your tailored LIBPACK, regardless of whether you add the
routine in the UCLIN step above or it is already in the LIBPACK.
_________________________________________________________
- Check the SYSLMOD DD statement to ensure that the data set name
is correct.
_________________________________________________________
When you are done, AFHWAERA, AFHWAERB, AFHWAVRA, and AFHWAVRB should
run with a condition code of 0 if the LIBPACKs contain all of the
optional modules. Otherwise, each of these jobs returns a condition
code of 4; unresolved external references for any optional modules
not included in the LIBPACKs are expected.