× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Hi Lorraine,

However, if I try to debug the bound program, I start getting CPF4101 errors. Both programs are running out of a named activation group, but the CLLE is in a different activation group

From the help text for the OVRDBF command's OVRSCOPE parameter:

*ACTGRPDFN The scope of the override is determined by the activation group of the program that calls this command. When the activation group is the default activation group, the scope equals the call level of the calling program. When the activation group is not the default activation group, the scope equals the activation group of the calling program.

So, an override in one activation group will have no effect on other activation groups, since they're not in the same scope.

Obviously, if the override isn't impacting the program, it could explain why you'd receive a CPF4101

the debug activation group (with a lower number, which is 55, while the other programs are in 57).

What is the "debug activation group"? Is that just a named activation group that's called "debug"?


I recommend eliminating the OVRDBF logic completely if possible. Use EXTFILE in the RPG program instead of an override. If that isn't possible, then issue the override from the same activation group and it'll work much better.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.