|
>Date: Fri, 24 Sep 1999 13:13:29 -0500
>From: Gary Guthrie <GaryGuthrie@home.com>
>Here is a reworked copy of your program with the changes made. Your
>original program appears at the end of this message.
> ...
> D EntryParms PR ExtPgm('TEST')
> D Trailer 10
> D SCACCode 10
> D EntryParms PI
> D Trailer 10
> D SCACCode 10
> ...
>
>Note that I supplied the name EntryParms in the procedure prototype.
>This can be anything, but EntryParms makes things a bit more intuitive.
>...
That's fine if this program is never intended to be called by another RPG
program. But if it is, you will want to move the prototype into a /COPY file,
and then you'll have to change the name on both the PR and the PI. I'd change
"EntryParms" to a name that a CALLP user would want to use.
Barbara Morris
+---
| 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 mailing list archive is Copyright 1997-2025 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.