510 pts.
 *LDA error message -”DtaAra already defined”
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
ASKED: January 6, 2011  4:09 AM
UPDATED: January 6, 2011  11:47 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Can you post to code?

 33,695 pts.

 

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

 110,135 pts.

 

Search for UDS .. a data structure of type U opens the LDA during the intialization cycle and closes it during end of processing.

 44,630 pts.