HELP — RPG 400 LOCAL DATA (LDA)

5 pts.
Tags:
RPG
RPG/400
Can i usr tow lda (local data area) in one CL program that calls an RPG program? if so please help with code illustations thanx
ASKED: July 30, 2009  8:54 PM
UPDATED: July 31, 2009  3:39 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • WoodEngineer
    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.
    6,055 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following