The LDA is a unique data area attached to a job
Type DSPDTAARA to see the one attached to your job.
The CL programs can use or change values in that data area with the
RTVDTAARA or CHGDTAARA
The RPG or RPGLE programs can use the local data area and or change it.
Here is info on RPGLE
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/books_web/c0925086670.htm
Phil
Last Wiki Answer Submitted: July 30, 2009 9:14 pm by philpl1jb44,220 pts.
All Answer Wiki Contributors: philpl1jb44,220 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
One handy feature of the LDA is that it is copied to a submitted job. By that I mean that when job A submits job B, the LDA in job B is a duplicate and separate copy of job A’s LDA. At this point job B can change the LDA without effecting job A’s LDA.
Warning: Some systems use the LDA to submit parms to a called program. We find this to be unreliable.
One handy feature of the LDA is that it is copied to a submitted job. By that I mean that when job A submits job B, the LDA in job B is a duplicate and separate copy of job A’s LDA. At this point job B can change the LDA without effecting job A’s LDA.
Warning: Some systems use the LDA to submit parms to a called program. We find this to be unreliable.