Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
The area OBTAINed should already be filled with binary zeroes. The z/OS V1R9.0 MVS Assembler Services Reference (IAR-XCT) SA22-7607-12 states, for STORAGE OBTAIN:
Quote: |
When you obtain storage, the system clears the requested storage to zeros if you obtain either:
* 8192 bytes or more from a pageable, private storage subpool
* 4096 bytes or more from a pageable, private storage subpool, with BNDRY=PAGE specified.
The caller can specify CHECKZERO=YES to detect these and other cases where the system clears the requested storage to zeros. |
If you need to reinitialise, it's probably simpler to RELEASE and re-issue OBTAIN.
Regards,
Garry. |
|