× 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.



Then you need a choice selection program.
This is a program that is called when the end-user of the CMD press F4
to list the choices for the parameter. When you create the command you
specify the choice program on the CHOICEPGM parameter of the parameter
being defined.
The choice program may get the current command string or have access to
it. Its been 8 years or so since I've had to write one.

Bob

> -----Original Message-----
> From: rpg400-l-admin@midrange.com
> [mailto:rpg400-l-admin@midrange.com] On Behalf Of Dare
> Sent: Friday, July 19, 2002 9:58 AM
> To: rpg400-l@midrange.com
> Subject: Re: Programming Command - CMD
>
>
> Bob, I don't really understand your question but I want to be
> able to have a list of file, to pick from, from the library
> selected.  Yes, I want all files in library selected to show
> up once the file field is prompted.
>
> Dare
>
> ----- Original Message -----
> From: "Bob Cozzi" <cozzi@rpgiv.com>
> To: <rpg400-l@midrange.com>
> Sent: Friday, July 19, 2002 10:45 AM
> Subject: RE: Programming Command - CMD
>
>
> > Huh?
> >
> > Are you talking about a CHOICE Program? Look into its probably what
> > you want/need.
> >
> > Bob Cozzi
> >
> > > -----Original Message-----
> > > From: rpg400-l-admin@midrange.com
> > > [mailto:rpg400-l-admin@midrange.com] On Behalf Of Dare
> > > Sent: Friday, July 19, 2002 9:30 AM
> > > To: MIDRANGE-L@midrange.com
> > > Cc: rpg400-l@midrange.com
> > > Subject: Programming Command - CMD
> > >
> > >
> > > This is a multi-part message in MIME format.
> > > --
> > > [ Picked text/plain from multipart/alternative ]
> > > Hi guys,
> > >
> > >
> > > Is it possible to reference object in a parameter of a
> command, e.g.
> > > I have 2 field defined in a command.  One is a promptable
> field with
> > > listed values withing the CMD src file and the values are list of
> > > libraries.  The second field value should be a file and I
> want the
> > > field to be promptable with the values coming from the library
> > > field. I have tons of library already listed for the
> library field,
> > > I don't want to list all the files in those librararies
> as values,
> > > within the src file, in the file field.  I do not want to use
> > > SUBFILE.
> > >
> > >
> > > Thanks
> > > --
> > >
> > > _______________________________________________
> > > 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.
> > >
> > >
> >
> > _______________________________________________
> > 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.
> >
>
> _______________________________________________
> 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 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.