>So the variable trick doesn't work there then?

The whole point of activating a program in an AG is to make it 'stick' in
storage so you don't have to go through the work of activating it again.  I
haven't done testing on CALLs using variables to a program in an existing AG
(which is sort of the OPM situation.)

I wasn't too clear in my very first email on this, but this will NOT
re-resolve the pointer in RPG III:

move 'BUCKPGM' PGMNAM
call pgmnam
...do something
call pgmnam

because the contents of the variable haven't changed.  The system will
resolve the pointer only if the contents of the variable change between
CALLs.

Like I said, I haven't tested this situation for an already active AG but I
suspect that the system would not re-resolve the pointer, but return a
pointer to the already activated program instead of a newly compiled one.
  --buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.