|
The only thing that adding a *PRV list can do is to ensure that the. . .
signatures will match. However, it will not change the slot/procedure
association. Therefore unless the procedures in the new version have
the same slot associations you may end up calling the wrong
procedure. That might account for an error such as you are seeing.
Without seeing both lists I can't tell.
Say the current version of the srvpgm has four procedures and the
binder language sets them up like this:
A, B, C and D.
The pointers in the srvpgm will occupy slots 1 (A) through 4 (D).
Now suppose that the version you are using had procedures A, B and D
and that you have got round the signature issue by coding them in
that order as *PRV.
Signature issue is solved - but your program will reference A as in
slot 1 - OK so far. B in slot 2 - still OK. And D in slot 3. Problem
- D is in slot 4. Your program instead of calling D has called C.
*PRV then is only any good if any new procedures are added to the end
of the list.
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.