Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
View previous topic :: :: View next topic  
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

Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Interpret instruction not working in ... spoorni CLIST & REXX 2 Fri Feb 07, 2014 10:22 pm
No new posts Displaying the value set by the EXIT ... Ricardo Viegas CLIST & REXX 12 Tue Dec 03, 2013 5:17 am
No new posts Data studio(for zos) instruction manual srilata83 DB2 2 Fri Jan 18, 2013 10:37 am
No new posts AL1(XXX) usage in DC instruction yugendran PL/I & Assembler 1 Thu Dec 06, 2012 3:59 pm
No new posts Assembler compare instruction Arunkumar Chandrasekaran PL/I & Assembler 3 Thu Jul 19, 2012 11:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us