> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Hunkeler Peter (KIUK 3) > Sent: Thursday, April 10, 2008 1:14 AM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: TIOT filling up: too many dynamic concatenations > > > >Why do you concatenate them that way? Why not just find/open/process > >each independently? Or if you prefer, find all of them, then > in a loop > >(allocate, open, process, deallocate) each individually? Yes, it is a > >bit more difficult to program, but it is "infinitely" scalable. > > If this hasn't changed lately, you'd also need to FREEBUF the QSAM > buffers after each CLOSE or that might be the cause of the next > out of storage condition. QSAM buffers are not freed by the system > upon CLOSE. > > -- > Peter Hunkeler
Good point! I found that out the hard way when I did multiple OPEN/CLOSE on a single DCB. Ran out of storage. This was back in the MVS/XA days. It is also another reason to "bite the bullet" and rewrite to use "native" UNIX I/O. No such problems. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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