|
-----Message d'origine-----Ok I'm calling the program like this :
De : midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Jon Paris
It is not actually coded this way but it helps to think that
the generated code in your program has a test in front of
each call to check if the target pointer has previously been
initialized. If it has not then the program pointer is
resolved. If the pointer has been resolved then there is
nothing (short of reinitializing the program) that will cause
it to re-resolve the pointer.
MYPGM = 'MyPgm';
CALL MYPGM
Program crashes and I replace 'MyPgm'. This has no effect as the job knows it must now use the version in QRPLOBJ.
So, I debugged and did EVAL MYPGM ='xyz'
The program crashes because xyz does not exist.
I change MYPGM back to 'MyPgm' hoping the pointer to MyPgm would be reresolved. Would this have worked if the program xyz had existed?
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.