Veilleux, Jon L wrote:
Wayne, I ran a test on both z/OS 1.9 and z/OS 1.10 using the following code and 
on 1.9 the area was initialized to zeroes  and on 1.10 it wasn't:

The "rules" Wayne stated are correct.

Just because the operating system doesn't guarantee the storage is zeros, doesn't mean it won't be zeros.

That's precisely why serious z/OS software developers use DIAG TRAPs like IgvInitCpool and IgvInitGetmain to force all acquired areas that -- according to the rules might not be zeros -- to not be zeros. (We also use IgvInitFreemain to help catch late references.)

--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310-338-0400 x318
[EMAIL PROTECTED]
http://www.phoenixsoftware.com/

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

Reply via email to