On Tue, Feb 20, 2018 at 1:04 PM, Binyamin Dissen <[email protected]
> wrote:

> On Tue, 20 Feb 2018 09:55:19 -0600 John McKown <
> [email protected]>
> wrote:
>
> :>I know that it is possible to use DIV (Data In Virtual) to "map" an LDS
> :>into an address space. And then use "windowing services" to move the
> :>"window" around within the LDS.
>
> :>What I would really like to do is have an LDS. And, somehow, have an API
> :>which would take this LDS and create a data space for me which simply
> :>"maps" the entire LDS into the data space. Basically making the LDS a
> :>"private page dataset". I would also like to have a way to "harden" all
> the
> :>changed pages in the data space into the LDS (e.g. force pageout
> changed).
> :>And, of course, it would write all the changed pages (and delete the data
> :>space) when I request that the LDS be "closed".
>
> :>I just don't see a way to do this. Not even in the 2.3 books. But I'm
> :>hoping that I missing something. And, if you're interested, this
> :>idea/desire was triggered by the UNIX "mmap()" type functions which map a
> :>regular UNIX file as a range of memory.
>
> Why wouldn't DIV MAP STOKEN do what you want?
>

​That looks like the ticket! Thank you. I did not look in that manual. I
kept reading about DIV in the manual on the macro, not in the guide. And
just didn't connect the dots with the STOKEN (I guess I was getting it
confused with something like the TCB token or ASCB token).​



>
> --
> Binyamin Dissen <[email protected]>
> http://www.dissensoftware.com
>
> Director, Dissen Software, Bar & Grill - Israel
>


-- 
I have a theory that it's impossible to prove anything, but I can't prove
it.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to