30 pts.
 How many types of Data Area are there in RPGLE
How many types of Data Area are there in RPGLE..

Software/Hardware used:
ASKED: March 11, 2008  6:00 AM
UPDATED: March 21, 2012  12:08 AM

Answer Wiki:
There are 3 types of data area - Local Data area, Group data area and Programmer initialization parameter data area
Last Wiki Answer Submitted:  March 20, 2012  6:22 am  by  bvining   6,055 pts.
All Answer Wiki Contributors:  bvining   6,055 pts. , Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

And then there are those you create for your own purposes.

 5,670 pts.

 

…Group data area…

I don’t know how a *GDA is defined “in RPGLE”. One can be accessed by calling a CL procedure or the Retrieve Data Area (QWCRDTAA) API, but I don’t know if RPG itself knows about them.

How many types of Data Area…

What do you mean by “type”? If you create a data area, you can define it as being one of four possible types — *DEC, *CHAR, *LGL or *DDM. A RPG program can access all four types. Is that what you’re asking about?

Tom

 107,755 pts.