*LDA error message -”DtaAra already defined”

510 pts.
Tags:
Data Area
LDA
RPG III
Hi, I am trying to fetch data from *LDA. So that I coded like [strong]*DtaAra Define *LDA LDA [/strong]and then compile the program. But the compiler throw me an error says that [strong]“DtaAra already defined”. [/strong]When I search the string DtaAra and LDA in the source, I am not found any occurrences other than my logic. What could be the possible reason(s) for this error? How to overcome this issue?

Software/Hardware used:
AS400

Answer Wiki

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

Discuss This Question: 3  Replies

 
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
  • CharlieBrowne
    Can you post to code?
    41,370 pointsBadges:
    report
  • TomLiotta
    When I search the string DtaAra and LDA in the source... And what does the cross-reference list show from the compile? Searching source might be misleading. /COPY and/or /INCLUDE and possibly other elements can modify source at compile-time. Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    Search for UDS .. a data structure of type U opens the LDA during the intialization cycle and closes it during end of processing.
    49,435 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