Michael,
I remember some years ago I wrote an assembler-routine doing 
OPEN/GET/CLOSE some hundred times a day. After some weeks the routine 
terminated with 878 and the dump was full of wasted storage-entries all 
heaving the same length (I do not remember details). The solution was to 
code the FREEPOOL-Makro. Explanation:

The FREEPOOL macro releases an area of storage, previously acquired for a 
buffer pool for a specified data control block. The area must have been 
acquired either automatically (except when dynamic buffer control is used) or 
by executing a GETPOOL macro. For queued access methods, you must issue 
a CLOSE macro for all the data control blocks using the buffer pool before 
issuing the FREEPOOL macro. For basic access methods, you can issue the 
FREEPOOL macro when the buffers are no longer required. A buffer pool need 
be released only once, regardless of the number of data control blocks sharing 
the buffer pool. SC26-7408-02

I think this hasn't changed yet. It was an assembler-routine but other 
languages will internally do the same and if IBM uses the same routines for 
OPEN/GET/CLOSE it will be the same result .. remaining storage. Maybe that's 
the reason why you only see it on IBM-Systems ....

Juergen

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