× 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.



Robert,

Like Scott explained, you read the LDA twice. When you specify the 'U' in the D spec, the data area is read during program initialization and updated when the program ends (LR on). The IN operation could be useful when you have reason to believe that the contents of the data area have changed (e.g. you called another program that updated the LDA).

Joep Beckeringh


Joubert, Robert wrote:

This works:


D

D* Get the *LDA

D DALDA          UDS                  dtaara(*LDA)

D  DAFld1                 1      4

D  DAFld2                10     19

D  DAFld5                20     30

D  DAFld3               115    115




C C* Get the Local Data Area C in DALDA C C* Populate the workfields from the *LDA C eval #fld1 = DAFld1 C eval #fld2 = DAFld2


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.