|
Chris, one very nice way that Ron Harvey talks about is to externally define one really big data structure with every value the user is likely to need in the course of the application and then move the datastructure as one long parm. Advantages are that new development and maintenance all have a predefined and trouble-free way to move data from job to job, data is consistent, and many default values can be specific to a user's particular session. Ron's talk that he does for COMMON includes examples of fields he includes, and my memory of it is that I laughed as he started listing the values he includes because he includes everything from next Friday's date to last IDNO he used in Accounts Receivable. My memory was that he barely got it all to fit in a 1024 character parm. But, as he listed the fields I realized there were many fields that he looks up in the morning, once, and I look up over and over all day long. _______________________ Booth Martin boothm@earth.goddard.edu http://www.spy.net/~booth _______________________ "Chris Beck" <CBeck@good-sam.com> Sent by: owner-midrange-l@midrange.com 11/30/1999 04:45 PM Please respond to MIDRANGE-L To: <MIDRANGE-L@midrange.com>, <Rpg400-l@midrange.com> cc: Subject: Passing variables from program to program. i have about 10 variables that are being used in about 3 CL and 1 RPG program. what is the best way or the "standard method" by parming them or using a data area? +--- | 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 +--- +--- | 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.