|
Hans I believe what he is talking about is an interface to the OS/400 command interface/prompter that would allow us to pass the variable in for return vals. Currently this is not possible with QCMDEXC but I personally would think this would be a handy addition. I really hate the System Domain User Domain problem... (That being a User Domain object can not execute a System Domain object). In the bad old days of early V2 of OS/400 I had to execute several of the commands within the RPG function or had to crack the parameter format for validity checking programs.... Bad example following since I know I can use the message handling APIs to achieve the same effect. D MSGTXT S 300 VARY D ERRMSG S 7 CF ERRMSG = EXCCMD( RTVMSG MSGID('CPF9999') MSG(MSGTXT)) Thinking about it I added theEXCCMD function This would be an IBM supplied BIF that would hook into the OS/400 command prompter at edit time and the command processing interface at run time. The ERRMSG return val is just a nice to have. Again the support for variable parameter types (which we can get the type of by operational descriptors) and number would help us techie tool writers who are forced by their clients to write all their tools in RPG because the management does not want to buy another compiler... (I honestly would prefer to write the bulk of my tool things in C++, but for Reporting, and OLTP types of applications it is hard to beat RPG) What do you think? Eric ______________________________________________ Eric N. Wilson President Doulos Software & Computer Services 2913 N Alder St Tacoma WA 98407 ----- Original Message ----- From: <boldt@ca.ibm.com> To: <RPG400-L@midrange.com> Sent: Wednesday, August 11, 1999 5:38 AM Subject: Re: RPG IV and CF-spec "keep it IBM" > > > Dave wrote: > People have discussed CL in RPG to death already in this > forum. Defining some sort of wrapper proc around qcmdexec > has been mentioned to make CL calls easier. > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---END
As an Amazon Associate we earn from qualifying purchases.
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.