On Tue, 13 Feb 2007 18:00:42 +0200, Shmuel Koller wrote:

> We incur a situation of an address space storage ever increasing - yet
>its production so it's taken down before an abend.
>
>I will like to SET a SLIP on GETMAIN macro call and upon each such event
>trapped - print the load-module name and displacement.
 
 
If the related issue that you note (below) is what is driving your request,
you will want to become intimate with Chapter 5 of the LE Vendor Interfaces 
publication from IBM in order to provide your own intercept of the malloc() 
(et al) services used by C under LE.  
 
If you only intercept the GETMAIN/STORAGE services in order to print the 
module name and displacement without intercepting the LE interface then I 
wonder if you won't be seeing the CEExxxx module name and its associated 
offset over & over & over again in your trace.  

 
>Can anyone share the syntax of such a command - achieving approximately
>such a flow of GETMAINs.
 
See Chapter 5 of LE Vendor Interfaces (SA22-7568-05 for z/OS 1.6). 
 
 
>Related issue - if code is written with IBM C compiler and Language
>Environment - is storage got with underlying GETMAIN macro?
 
As John Gilmore already pointed out, LE generally uses heaps so the storage 
management is done by LE and not so much by GETMAIN/STORAGE.  To really 
track down the causer you may need to get much closer to LE's heap 
management... which can be done by studying Chapter 5 of the previously 
referenced IBM pub.
 
-- 
Tom Schmidt 
Madison, WI 
 

----------------------------------------------------------------------
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