Re: Trying to get data area content with QWCRDTAA
Barbara Morris <[email protected]> Sat, 6 Sep 2025 08:37:11 -0400
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Organization | IBM |
| Message-ID | <[email protected]> |
On 2025-09-05 7:29 a.m., Patrik Schindler wrote:
> Hello,
>
> I'm trying to retrieve the content of a data area with the QWCRDTAA API. It's meant to contain a http proxy URI string for non-PASE applications. I've created it like this:
>
> crtdtaara dtaara(qusrsys/httpproxy) type(*char) len(32) value('http://leela.pocnet.net:3128') aut(*use)
> ...
When the API documentation says the data type of a field is "CHAR(*)",
it means "Character of any length", such as char[32].
https://www.ibm.com/docs/en/i/7.4.0?topic=concepts-data-types-apis
--
Barbara
--
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.