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



Terry

That sounds doable. A user space, after all, is just a space. And so is an IFS stream file - just a space. What you do with and IFS stream file you can do exactly the same with a user space - just have to use path naming to get to it.

As an example, try DSPF /qsys.lib/yourlib.lib/yourspace.usrspc sometime - you'll be pleasantly surprised. You can also use EDTF in the same way, although working with hex content is not amenable to humans.

But the pointer technique is so fast, that the C-lib routines would have to be slower.

Vern

-------------- Original message --------------
From: Terrence Enger <tenger@xxxxxxxxxxxxxxxx>

I have a vague memory that it is possible somehow to use the C-library
read() and write() routines against a *USRSPC, if that helps. Still, it
has been a long time, and I never did care very much; I could be
dreaming in technicolour.

Cheers,
Terry.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.