I don't recall this ever happening.  In order to allocate storage out of
CSA/ECSA the program has to be running authorized.  Malloc() gets storage
from private area subpools, in the key of the TCB that created the memory
pool (usually key 8).

Wayne Driscoll
Product Developer
NOTE:  All opinions are strictly my own.



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Betsy Jeffery
Sent: Thursday, June 26, 2008 8:52 AM
To: [email protected]
Subject: C/C++ malloc() memory allocation

Back in the OS390 2.10 days the malloc() command/function used to allocate 
the storage requested in CSA/ECSA.  Does anyone know if this is still true 
under z/OS 1.7?

TIA

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to