× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Barbara,


Like any other control mechanism, it takes discipline and organization. Our LDA has pre-defined slots for permanent or widely used attributes, such as company number. These are part of the system documentation. Such elements are defined in the lower portion (1-256) of the LDA. Reusable elements, such as used by a batch report job, would use the upper portion (257+) for its own "stuff," if needed.


Jim Sloan cringes, too, at using the LDA. But since I started using it on the /34, I've never stepped on an area that I shouldn't have. It's no different from "flat" files we had to use on the /34 and /36; you can step all over those (and sometimes you wanted to), but we "solved" the problem with copybooks.

For simple control mechanisms, like the aforementioned company number, it's a good way for program-to-program communication. But "good" is a subjective word and, thus, merely an opinion.

        * Jerry C. Adams
*iSeries Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
        615.995.7024
fax
        615.995.1201
email
        jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



Barbara Morris wrote:

Evan Harris wrote:
I'll be interested to see if there are [m]any comments about why the
LDA is not a good idea :)


Something I've always wondered: How do you know what section of the LDA
you are free to use?  How can you be sure that no other program in your
job is already using that section?

Me, I'd be terrified to start using the LDA, especially on a system
where the use of the LDA was common in applications.  I wouldn't know
when to stop testing whether I had messed anything else up.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.