× 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.



Yes. Think about it: wouldn't it be the same as executing a program with ACTGRP(*CALLER) in *DFTACTGRP? I haven't seen such a thing blow up, although it's a discouraged practice.

Joe


Joe,

Out of interest, does the program *run* correctly in the default AG?

Rory

On Thu, Feb 24, 2011 at 6:45 AM, Joe Pluta<joepluta@xxxxxxxxxxxxxxxxx>wrote:

On 2/22/2011 12:25 PM, Barbara Morris wrote:
I don't normally participate in threads about possible bugs, so I've
been staying out of this one ...

I don't know if this bug with the CONST parameter has been fixed yet or
not. There was one APAR about missing prototypes, but it was a
different symptom. For what it's worth, the problem doesn't seem to
exist on my system with compiler PTF SI42509.

For sure it is a new bug that the compiler is allowing procedures with
DFTACTGRP(*YES). That will be fixed in the next 7.1 compiler PTF.
PTF SI42509 fixes the issue with CONST parameters on non-prototyped
procedures. The parameters are passed correctly. The DFTACTGRP(*YES)
issue still exists (the program is compiled into the default activation
group even though it has subprocedures).
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





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.