I googled, and this popped out... Not sure if this works for you.
QXXCHGDA() -Change Data Area
Format
#include <xxdtaa.h>
void QXXCHGDA(_DTAA_NAME_T dtaname, short int offset, short int len, char *dtaptr);
Language Level: ILE C Extension
Threadsafe: Yes.
Description
The QXXCHGDA() function allows you to change the data area specified by dtaname, starting at position offset, with the data in the user buffer pointed to by dtaptr of length len. The structure dtaname contains the names of the data area and the library that contains the data area. The values that can be specified for the data area name are:
-Eric DeLong
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dennis
Sent: Thursday, April 07, 2011 12:11 PM
To: Midrange Systems Technical Discussion
Subject: Re: Storing and retrieving a 2-digit number, someplace that is easy todisplay and change from the command line, and easy to access from MI?
OK. Sorry, thought maybe I was missing something. I do feel the lack of an API for writing though. Wondered if that might be an issue.
"James Lampert" <jamesl@xxxxxxxxxxxxxxxxx> wrote:
Dennis wrote:
Sorry my answer was incomplete. What is wong with using the data
area APIs for this? QWCRDTAA, for example.
Nothing. Just wondered if there was anything better. Which there
evidently isn't.
--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
Sent from my Galaxy tablet phone with with K-9 Mail. Please excuse my brevity.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.