Paul Gilmartin wrote:
On Wed, 22 Apr 2009 13:36:13 -0400, Thomas David Rivers wrote:
* setting 14 bytes to 0x00
XC 102(14,13),102(13)
You're only trying to help the programmer, but perhaps thereby
thwarting the intent of a deliberate Dirty GETMAIN.
This setting-of-zero is required by the ANSI C standard.
Essentially, if you initialize part of an aggregate (in this
case, an array) the remainder is given zero values. The array
is defined as having 20 bytes, with only the first 6 being
explicitly initialized by the programmer.
- Dave Rivers -
--
[email protected] Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.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