|
>was: dynamic program CALLS > > >Paul said; >> SNIP> >>I encourage calls to RPG programs to pass at least 1 parameter: tells the >>called program if it is to execute or execute and shut down: >> >> CALL XXXXX >> PARM SHUTDOWN >> PARM DataToSubProgram >> PARM DataFromSubProgram ><SNIP > >Just curious Paul, why you don't use factor 1 & 2 of the DataToSubProgram >to separate what is passed down from what is passed back instead of >passing the 3rd parm(DataFromSubProgram) ? > >P.S. >I use the shutdown parm myself. The only caveat is that I rarely pass >more than one parm. I always pass a data structure name (usually >externally defined). > >John Carr >EdgeTech Picky, picky, picky! (: --Paul E Musselman PaulMmn@ix.netcom.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@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.