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?
Software/Hardware used:
ASKED:
May 28, 2008 6:00 AM
UPDATED:
May 11, 2012 2:44 PM
actually this was interview question !
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
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.
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.
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….
I have faced the same question today. With out using a data area data structure and without using an IN opcode, is there a way to read a data area?
Sloopy, I beg to differ. I just put together a program using QWCRDTAA to retrieve the value of various data areas on the system (had a devil of a time dealing with packed data until I ran across a neat solution courtesy of Dennis Lovelady).