Look for the CL Programming Reference on the InfoCenter site:

Page 179 lists the rules for prompting CL commands within a program.
There is a section on prompting within QCMDEXEC.

Andy Nolen-Parkhouse

> On Behalf Of Suresh_Krishnaswamy
> Subject: [Consult400] AS/400 doubt....
> > Hello,
> >
> > Can u please look into this...
> >
> > I want to execute a command. To execute we can use "qcmdexec"
program to
> > execute a command. But my requirement is that the Prompt should be
> > displayed before the command is actually executed.
> >
> > If we are doing interactively we could manualy press F4 for prompt.
> > However, if
> > I need to execute from another program(CL or RPG), then how can we
> achieve
> > the same Prompt effect in programmatic way.
> >
> > Example: if we use STRPDM and work with members. there we can create
> file
> > using F6, by the moment we press F6 key command will be prompted
> > default values.
> >
> > Expecting your valuable answer.
> >
> > Thanks in advance,
> > Suresh

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.