15 pts.
 RPG /Free Local Data Area definitions
I am trying to define the LDA with an external definition in RPG /free. Any help?

Software/Hardware used:
iSeries V5r4
ASKED: November 24, 2010  3:11 PM
UPDATED: December 1, 2010  4:16 PM

Answer Wiki:
Here is a link to a great article by Bruce Vining that should help you out. http://www.mcpressonline.com/programming/cl/the-cl-corner-reduce-those-annoying-substring-operations.html
Last Wiki Answer Submitted:  November 24, 2010  7:32 pm  by  CharlieBrowne   32,855 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,855 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

Hummmm…
Not sure I understand the question. You would define the *LDA on the “D” specs.
So, what does /FREE have to do with it?

Phil

 530 pts.

 

Could you show us a couple things you tried along with any errors? A *LDA rarely has an external description at many sites and I haven’t worked where any were used in the past decade.

I have ideas and can run some tests, but it’d be easier if I knew ahead of time what won’t work and why not.

Tom

 108,095 pts.

 

This might be what you are looking for:

http://www.bmeyers.net/faqs/15-faqs/36-defining-a-data-area-data-structure

the data area is defined as Tom said in ‘D’ specs
and in used in free format with IN and OUT.
Phil

 44,180 pts.

 

d LDA euds dtaara(*lda)
d extname(F98LDA)

in lda; // *DTAARA DEFINE *LDA
#$ics = $$$cm;

Thanks to all that answered my question. I have found that the problem was not with the LDA Definition but was due to some setup issues.

 15 pts.