> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of David Eisenberg > Sent: Wednesday, April 09, 2008 1:17 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: TIOT filling up: too many dynamic concatenations > > > Anyone, > > I have a mainframe assembler application which is invoking > Unix system > services to get the names of all of the files in an > NFS-mounted folder. The > application dynamically allocates and logically concatenates > these files into > one giant dataset, then uses QSAM macros to read it. > >
[snip] > If I were able to handle up to 750 (or perhaps 1,000) files > at a time, it would > be of immense help. At the moment, our only option seems to > be to split up > the files into multiple folders of 500 files each. > > Do I have any other options? Thanks so much. > > David 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. -- 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