|
One technique that has appeal in certain circumstances is to begin using the LDA for the switch settings. The LDA is longer than what was use on the Sys/36, so you have some confidence that a particular area in the LDA can be reserved for a particular set of switches. ie, 801-808 = A/R switches for process 1. 809-818 = A/P check writing process. Switches can then be 1 or 0 (and, if you want, any other value). LDAs can also be written to files so a user's LDA can be saved and then restored the next time the user signs on. The LDA can be written or read in the RPG program, or in CL, so the information is always available. In <199805011458.JAA11681@uucphost.mcs.net>, on 05/01/98 at 10:04 AM, bmegenity@ruskin.com said: > We have many CL programs (converted from OCL) in which we make heavy >use of the user switches U1-U8. Is there a method/utility/command by >which we can save/suspend the user switch settings, reset them for use >in another procedure and then restore them to their original settings >when we return to the calling procedure? Are user switches still being >used or are they replaced by newer techniques? -- ----------------------------------------------------------- boothm@ibm.net ----------------------------------------------------------- +--- | 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.