Suresh, Look for the CL Programming Reference on the InfoCenter site: http://publib.boulder.ibm.com/pubs/html/as400/v5r1/ic2924/books/v5r1info map.htm Page 179 lists the rules for prompting CL commands within a program. There is a section on prompting within QCMDEXEC. Regards, 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 with > > default values. > > > > Expecting your valuable answer. > > > > Thanks in advance, > > Suresh
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.