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
Can you post to code?
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
Search for UDS .. a data structure of type U opens the LDA during the intialization cycle and closes it during end of processing.