× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks, I had missed that. I'll check it out when I get the chance.

I had a nagging feeling I was missing something; especially since I seem to
recall doing this in a C or MI program in the past.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"TV is a medium, because it is neither rare nor well done."
-- Ernie Kovacs


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.



--
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.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.