We have a program that is bound to the ZLIB service program. If we
specify the library for ZLIB on the CRTPGM, then a DSPPGM on it shows
that it's bound to ZLIB in that library, as expected.
Likewise, I ran a test CRTPGM, binding the program to ZLIB in *LIBL,
both with and without having a copy of ZLIB in the target library, and
in both cases, a DSPPGM on the resulting program showed that it was
bound to ZLIB in *LIBL.
Yet we recently created another program, explicitly bound to *LIBL/ZLIB
in the CRTPGM, and yet a DSPPGM on it shows it bound to ZLIB in a
specific library, and we can't explain why.
The only thing that might have been different is that *possibly* the
CRTPGM (called from within a CL program) may have initially failed to
find the service program, and then been given a RETRY response after the
service program was copied into the target library. Or the program may
have been regenerated since then. (I'm not sure; I wasn't the one who
did it.)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.