reading values through data area except IN & RTVDTAARA ?
155 pts.
0
Q:
reading values through data area except IN & RTVDTAARA ?
Is there any other way to read values through data area except Using 'IN'Opcode in RPG and RTVDTARA command in CL? Pls. tell if it could be done in other ways in our RPG programme or in our Cl programme?
ASKED: May 28 2008  6:00 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
20 pts.
0
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • AddThis Social Bookmark Button
Hi,

There is also an API called QXXRTVDA. Why do you want to use something different to RTVDTAARA or IN?

Regards,

Martin Gilbert.


hi

we can use dataarea data structure to retrive data from a dataarea in our rpg program
--------------------------------------------------

There is also the Retrieve Data Area API QWCRDTAA. This API is a bit more flexible in terms of the *DTAARA data type (though the referenced C run-time API does support access beyond *DTAARAs).
Last Answered: May 30 2008  5:05 AM GMT by Amar chandra   20 pts.
Latest Contributors: Bvining   4885 pts., Gilly400   23625 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

6r   155 pts.  |   May 29 2008  7:08AM GMT

actually this was interview question !

 

Sloopy   1940 pts.  |   May 30 2008  2:08PM GMT

Ha! Like many interview questions, although there is an affirmative answer (there are ways to access a data area without using IN or RTVDTAARA), in practice no-one ever uses the alternative.

I once walked out of an interview for a lucrative position because the list of technical questions was useless. I asked the guy, “What idiot wrote these questions?”, and he replied, “I did”. So I told him I didn’t want to work for a dork and walked out.

Sloopy

 

Gilly400   23625 pts.  |   Jun 2 2008  3:03PM GMT

Hi Sloopy,

Know what you mean about the interview questions. I get a bit fed up of having to do techy interviews when I’ve got 20+ years experience. Some of the questions annoy me because they’re so simple and when I see more difficult questions, I wonder whether the client is just fishing for free technical advice.

I’ve had some interviews where I’ve been asked questions about products/packages which the clients were busy developing at the time - how are you supposed to know about a product that’s not even on the market?

I had another interview with quite a few techy questions which I answered with no problems, only to be told afterwards that I was “too technical” for the position.

On the other hand I’ve seen people hired on the basis of a CV with lots of experience, only to find they didn’t have a clue about anything, so I can see the purpose of some sort of testing - doesn’t mean I have to like doing them though.

I’m not even going to mention the number of interviews I’ve ended up with which have nothing to do with my background, due to miscommunications between the client/agency.

Regards,

Martin Gilbert.

 

BigKat   2540 pts.  |   Jun 3 2008  1:59PM GMT

I had a friend that went to an interview once where they wanted the applicants to sit at a terminal and solve a problem. It turned out this was their production code, and they were not really hiring, just getting free consultant work.

 

Djac   685 pts.  |   Jun 4 2008  1:51PM GMT

I was once told by an agency that the client had given the job to another applicant because they used more buzzwords than I did. I wasn’t too upset that I missed that one….

 
0