reading values through data area except IN & RTVDTAARA ?

1520 pts.
Tags:
CL
Retrieve Data Area
RPG
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?

Answer Wiki

Thanks. We'll let you know when a new response is added.

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 <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qwcrdtaa.htm”> Retrieve Data Area API QWCRDTAA</a>. 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).

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • 6r
    actually this was interview question !
    1,520 pointsBadges:
    report
  • Sloopy
    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
    2,195 pointsBadges:
    report
  • Gilly400
    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.
    23,730 pointsBadges:
    report
  • BigKat
    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.
    8,200 pointsBadges:
    report
  • djac
    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....
    900 pointsBadges:
    report
  • RamvishakRamesh
    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?
    2,505 pointsBadges:
    report
  • Splat
    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).
    7,215 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following