× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



So its basically the same thing as a subprocedure? Cool... I'll have to try
that out.

On 5/18/07, Michael Ryan <michaelrtr@xxxxxxxxx> wrote:

* ENTRY
DMhr001R PR ExtPgm('MHR001R')
D 10 0

DMhr001R PI
D NbrCurRcd 10 0

This is the '*ENTRY PLIST' for program MHR001R. It had a 10.0 entry
parameter named NbrCurRcd..

On 5/18/07, Mike <koldark@xxxxxxxxx> wrote:
> I was thinking the same thing. I know how to do it for subprocedures,
but
> not for "main" programs.
>
> On 5/18/07, Tom Huff <tehuff@xxxxxxxxxxxxx> wrote:
> >
> > Anyone have a short example ?
> >
> > -----Original Message-----
> > From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:
rpg400-l-bounces@xxxxxxxxxxxx]
> > On Behalf Of Vernon Hamberg
> > Sent: Friday, May 18, 2007 7:46 AM
> > To: RPG programming on the AS400 / iSeries
> > Subject: RE: Is There A Better Way To Grab Parameters?
> >
> > Definitely do this - more flexibility in defining parameters with
> > prototypes than with *PLIST
> >
> > The prototype should be called the name of the program. Follow the PR
> > statement with the parameters - you can use LIKE and all that in the
> > keywords. Then put in the PI - procedure interface - can be right
> > away. Just use the same parameter definitions as the PR and you are
good
> > to
> > go.
> >
> > HTH
> > Vern
> >
> > At 10:26 AM 5/17/2007, you wrote:
> >
> > >I don't know about "better", but the ILE way is to define a prototype
for
> > >the main procedure of your program.
> > >
> > >Well, I guess it is better because you can then share the prototype
with
> > >others and the compiler will check for inconsistent parameters.
> > >
> > >Joe
> > >
> > > > From: Mike
> > > >
> > > > Is there a better way to grab parameters in a RPG program? For
years I
> > > > have
> > > > use the *entry plist. Is there a new way to do that in V5R3 or
V5R4
> > > > better?
> > >
> > >
> > >--
> > >This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
> > list
> > >To post a message email: RPG400-L@xxxxxxxxxxxx
> > >To subscribe, unsubscribe, or change list options,
> > >visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> > >or email: RPG400-L-request@xxxxxxxxxxxx
> > >Before posting, please take a moment to review the archives
> > >at http://archive.midrange.com/rpg400-l.
> >
> > --
> > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
> > To post a message email: RPG400-L@xxxxxxxxxxxx
> > To subscribe, unsubscribe, or change list options,
> > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> > or email: RPG400-L-request@xxxxxxxxxxxx
> > Before posting, please take a moment to review the archives
> > at http://archive.midrange.com/rpg400-l.
> >
> > --
> > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
> > To post a message email: RPG400-L@xxxxxxxxxxxx
> > To subscribe, unsubscribe, or change list options,
> > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> > or email: RPG400-L-request@xxxxxxxxxxxx
> > Before posting, please take a moment to review the archives
> > at http://archive.midrange.com/rpg400-l.
> >
> >
>
>
> --
> Mike Wills
> http://www.linkedin.com/in/mikewills
> Blog - http://mikewills.name
> Podcasts - http://podcastmike.com
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
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 thread ...

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.