>and my program can not free subpool 0 space

Why can your program not free subpool 0 space? If you obtained the 
storage, you can free it.
If your obtains are not from subpool 0 then it is not your obtains that 
are contributing to the storage creep.

If you can get a dump, the VSMDATA reports through IPCS provide a lot of 
data about storage usage.

If you're changing your program anyway, why not go with one of the more 
"modern" forms:

GETMAIN RC,LV=(n),SP=2
ST    TABLADDR
or
STORAGE OBTAIN,LENGTH=(n),ADDR=TABLADDR,,SP=2,LINKAGE=SCV

and

FREEMAIN RU,LV=(n),SP=2,A=TABLADDR

Peter Relson
z/OS Core Technology Design

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