|
Do you mean this thing?
CRTPGM PGM(FOO) BNDSRVPGM((*LIBL/BAR *DEFER))
Honestly, I haven't played around with that option, so I don't know if
it checks for the *SRVPGM existence when the *PGM is activated? But I
know (from the docs) that when you specify *DEFER, the *SRVPGM isn't
activated until it's used. So maybe it's not resolved until then, either?
At any rate, instead of using traditional ILE binding, you can always
use APIs to resolve/activate/call the srvpgm manually. Then you can
choose when you resolve/activate/call, since it's all done in your code.
I'm not recommending that, mind you. I'm just telling you that it's
possible.
On 12/22/2011 5:01 PM, James Lampert wrote:
Given a program that, depending on circumstances, may or may not call
anything in a given service program to which it is linked, is it
possible to defer checking for the existence of the service program
until a call is made to it?
I'd RTFM, but I'm not entirely sure which FM to R.
--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.