|
You need to have both a procedure prototype and procedure interface in the 'callee'. Scott Mildenberger > -----Original Message----- > From: JMBauman@wardtrucking.com [mailto:JMBauman@wardtrucking.com] > Sent: Thursday, April 04, 2002 8:26 AM > To: rpg400-l@midrange.com > Subject: Calling Program with a Procedure Interface > > > > I am in the early stages of my RPG IV and ILE development so > forgive me if > this is a stupid post. I want to make a call to a RPG IV > program. Both > the caller and callee programs are RPGLE, compiled with the default > activation group as *yes (OPM Compatible). Can I use a > Procedure Interface > in the "Callee" program? If so why I am I seeing the error > "Prototype for > main procedure must be defined prior to Procedure-Interface > definition". > Must I define this "Callee" program as a Procedure? Thanks > for your help > > Dazed and Confused > > John M. Bauman > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) > mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > 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 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.