Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Instruction 64 bits - MVCLE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
Laercio

New User


Joined: 10 May 2005
Posts: 2

PostPosted: Wed Jun 25, 2008 4:41 am    Post subject: Instruction 64 bits - MVCLE
Reply with quote

how do I do to fill with binary zeros an area obtained by storage obtain?
I am using MVCLE, the area possesses 34.000.000 of bytes. The program is in AMIDE=31.
Back to top
View user's profile Send private message
References
PostPosted: Wed Jun 25, 2008 4:41 am    Post subject: Re: Instruction 64 bits - MVCLE Reply with quote

Garry Carroll

Active User


Joined: 08 May 2006
Posts: 130
Location: Dublin, Ireland

PostPosted: Wed Jun 25, 2008 1:34 pm    Post subject:
Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 Hours
Page 1 of 1