|
Great idea! All we would need is some syntax for declaring the characterstics of the parameters, the type, length, valid values, and so on. And then a method of storing this information somewhere where SEU can find it. And then a runtime mechanism to validate the parameters and do something sensible if they are incorrect... Here is a radical thought, we could even have a syntax for interparameter validation - If parameter HowMuch is equal to *ALOT then parameter CreditCheck can only be *YES... IBM already did all of that. It is called CL. We can write our own commands and we get all the functionality you asked for and more. SEU already knows how to handle commands. And you can write your programs in your favorite language. And your programs don't have to validate the parameters because the command analyzer already did it... This probably isn't what you were asking for... Charly >"Steven Easton" <seaston@ionet.net> wrote: >SQL in RPG is promptable. Just type in a UPDATE sql command >and press F4, you are prompted for the file name, fields etc. > >CL is promptable, just type savlib and press F4 and fill in the > >parameters. The valuse are retuned to SEU. > >Why can't call to other program be promptable in RPG. To me, >it looks like just an enhancement to SEU, not the RPG compiler. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.