• Subject: Re: Using procedure prototypes and interfaces instead *ENTRY PLIST
  • From: Gary Guthrie <GaryGuthrie@xxxxxxxx>
  • Date: Sat, 25 Sep 1999 08:41:02 -0500

Note that this is a PROCEDURE definition. However, in this example we're
not defining parameters for a PROCEDURE, rather we're defining
parameters for a PROGRAM. The ExtPgm keyword thus indicates we're
defining parameters for a program. In this case, the very program with
the procedure prototype, hence these are entry parameters.

Gary Guthrie
Editor, The RPG Source at http://www.news400.com/TheRPGSource



Joe Teff wrote:
> 
> >      D EntryParms      PR                  ExtPgm('TEST')
> >      D  Trailer                      10
> >      D  SCACCode                     10
> >      D EntryParms      PI
> >      D  Trailer                      10
> >      D  SCACCode                     10
> 
> I don't understand the ExtPgm('TEST') part. As this is acting
> like a *ENTRY PLIST, why would you put the ExtPgm keyword
> on it? I understand why this would be for the calling program,
> but not the called pgm.
> 
> Joe Teff
> 
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.