Re: Trying to get data area content with QWCRDTAA

Patrik Schindler <[email protected]> Sat, 6 Sep 2025 10:37:36 +0200
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
Hello Chris,

Am 05.09.2025 um 18:05 schrieb Chris Hird <chrish-lbwoW8fqX/[email protected]>:

> Here is some sample code I used to test before

Thanks a lot!!

I understand you're carving out the memory location where the "value" part starts according to the IBM documentation. After talking to a friend yesterday, we came to the conclusion, that this isn't the real memory location with the data area's content, but simply a pointer to another location where the content has been copied by the API.

Your code proofs that this is indeed the case.

The IBM provided documentation is ambiguous in this case.

:wq! PoC


-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.