On Thu, 5 Feb 2009 13:39:32 -0500, Guy Gardoit <[email protected]> wrote:

>
>For the life of me, I can't understand why this is such a surprise or
>problem.   How many bad programmers were-there/are-there anyway?
>
>Sorry, but one who breaks the rules, end ups broken.
>
>Guy Gardoit
>z/OS Systems Programming

I'll admit that I am one of the ones who would have made this mistake. I
don't know why, but I __always__ thought that the storage returned via
GETMAIN or STORAGE OBTAIN was guaranteed to be x'00'. Now, I might not have
gotten caught because my normal coding technique for this sort of think is
to assemble an "initialization area" in my code, do the GETMAIN, then MVC[L]
my initialized area to the GETMAIN'd area.

--
John

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