<booth>
I believe there is a lesson in here that I should have learned. Now I am curious... what is the preferred best replacement technique?
</booth>

LDA has had two diffrent usecases:
- giving and/or receiving parms between two programms
- storing some job related global context

For the first you could simply use parms.
For the second I'm writing a SRVPGM JOBCONTEXT (ACTGRP(NORECLAIM)). This SRVPGM exports get (and set procedures if needed) for every needed global property. Initialisation would be done by some external store (could be database or a property file in IFS.
The get procedures could look like getMandant(), getLastFriday(), getSomethingElse() or more generic getProperty(keyName)
If you prefer java style, you would find an example at my (german) Freeware site http://bender-dv.de/Snippets.html . Google translate could assist, search for PROPERTIES

D*B




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.