|
IBM's manuals contribute greatly to this confusion by refering to what we know as plain-old programs as a "main procedure" and what we normally call procedures as "subprocedures". I assume this is what the message-text is referring to. So, when they refer to a "prototype for main procedure", they are talking about the PLIST replacement type of prototype and not what we commonly think of as a procedure prototype. > -----Original Message----- > From: Buck Calabro [SMTP:Buck.Calabro@commsoft.net] > Sent: Thursday, April 04, 2002 1:49 PM > To: rpg400-l@midrange.com > Subject: RE: Calling Program with a Procedure Interface > > John M. Bauman wrote: > > >I am in the early stages of my RPG IV and > >ILE development. 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". > > ************************************************************************************************************************************************************************************************************ This message originates from Lincare Holdings Inc. It contains information which maybe confidential or privileged and is intended only for the individual or entity named above. It is prohibited for anyone else to disclose, copy, distribute or use the contents of this message. All personal messages express views solely of the sender, which are not to be attributed to Lincare Holdings Inc., and may not be copied or distributed without this disclaimer. If you received this message in error, please notify us immediately at MailAdmin@lincare.com or (800) 284-2006. ************************************************************************************************************************************************************************************************************
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.