> If you really want to try using real addresses, I STRONGLY urge you > to use the DATOFF system service rather than using your own code. > If all you are moving is one byte, then you are guaranteed that the > source byte is in the same real 4K frame as the target byte, but if > the length is >1 then you may overlay some part of the wrong target > page (worst case) or move some bytes from the wrong source page > (best case). You will need considerable code to ensure that such > moves can never happen with your one and only one MVCL. Unless you > have allocated your virtual storage in such a way that the real > storage backing the virtual storage is also contiguous, then you > will have to loop through the data and never do the MVCL with > parameters that would cause such an error. I assume that's how > DATOFF does it.
DATOFF MVCL does a single DAT-off MVCL using the real addresses and lengths provided by its caller. Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

