RPG II does not have a CALLP op-code. And whenever I use CALL, the compiler
listing gives me a warning (basically, "Are you really sure you want to do

If an RPG IV defined by activation group *Caller has prototyped procedures,
could it be called by an RPG II program without incident (i.e., bad vibes)?

But maybe I did not correctly understand Jon and Charles. As I read the
thread, if an RPG IV program is (at least explicitly) defined with the
Default activation group, it could not even have prototyped procedures.

Just curious. Never done that. Do not plan to do that.

Jerry C. Adams
It's weird being the same age as old people.
IBM i Programmer/Analyst

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of
Rob Berendt
Sent: Tuesday, February 23, 2021 6:47 AM
To: Midrange Systems Technical Discussion
Subject: RE: Default activation groups

Are you using CALL to call external programs or are you using CALLP to call
prototyped subprocedures (not subroutines)? CALL is a totally different
animal from CALLP.
CALLP is more tied to activation groups than CALL is.

Rob Berendt

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