Good question.  I don't know for sure.  

I peeked at the include file and looks like they link to a system program
(linkage) so I have to assume they throw exceptions in case of errors.

It would be nice to find a list of exceptions it can throw, but it doesn't
look like IBM lists those out.

Elvis


-----Original Message-----
 Subject: RE: [C400-L] Data Area API


Do you perhaps know how this API reports errors?

-----Original Message-----
From: c400-l-bounces+steven=solve400problems.com@xxxxxxxxxxxx
Subject: RE: [C400-L] Data Area API

QXXCHGDA - change data area API

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415607107.htm#HDRQX
XCHGD

Elvis

-----Original Message-----
 Subject: [C400-L] Data Area API

All,

I am currently using the API QWCRDTAA to read data from a data area. 

Which API can I use to write data?

I know I can call CHGDTAARA using system("QSYS/CHGDTAARA ...") but it does
not seem very flexible.

Steven




This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].