IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Instruction 64 bits - MVCLE


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Laercio

New User


Joined: 10 May 2005
Posts: 2
Location: Brazil

PostPosted: Wed Jun 25, 2008 4:41 am
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
Garry Carroll

Senior Member


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

PostPosted: Wed Jun 25, 2008 1:34 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. Assembler - Packed Decimals - PACK in... PL/I & Assembler 3
No new posts Using L' to get length of instruction PL/I & Assembler 1
No new posts LA instruction in assembler PL/I & Assembler 4
No new posts The Test under Mask (TM) Instruction PL/I & Assembler 7
No new posts Connect Direct - using DEBUG=TRACE Bits All Other Mainframe Topics 4
Search our Forums:

Back to Top