Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
Location: Brazil

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

Senior Member


Joined: 08 May 2006
Posts: 1006
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 Connect Direct - using DEBUG=TRACE Bits srajendran2 All Other Mainframe Topics 4 Tue May 08, 2018 3:08 am
No new posts Control-M restart instruction sonaliingle CA Products 2 Tue Nov 28, 2017 5:05 pm
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us