Hello everybody

To prompt a command, before the command was executed is very simple.

for an example:

? LVTR01 CONO(100) SUNO() AGNB() ??PROZ()

? LVTR01 = command
  CONO, SUNO, AGNB and PROZ are the parameter

So you can see, it´s very simple.




-----Ursprüngliche Nachricht-----
Von: Suresh_Krishnaswamy [mailto:Suresh_Krishnaswamy@satyam.com]
Gesendet: Dienstag, 6. August 2002 13:14
An: Consult400@midrange.com
Betreff: [Consult400] AS/400 doubt....



This message is in MIME format. Since your mail reader does not understand this 
format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
> 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
> with default values.
>
> Expecting your valuable answer.
>
> Thanks in advance,
> Suresh
>
>
>
**************************************************************************
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
**************************************************************************
_______________________________________________
This is the Consulting on the iSeries / AS400 (Consult400) mailing list To post 
a message email: Consult400@midrange.com To subscribe, unsubscribe, or change 
list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/consult400
or email: Consult400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/consult400.



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