> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of David Eisenberg
> Sent: Wednesday, April 09, 2008 1:42 PM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: Re: TIOT filling up: too many dynamic concatenations
> 
> 
> >Yes, it is a bit more difficult to program, but it is 
> "infinitely" scalable.<
> 
> Of course, you are correct. I took this approach because I 
> have inherited a 
> pre-existing application that used to read a single mainframe 
> dataset. It's only 
> recently that the capability to read multiple files via NFS 
> was made necessary.
> 
> My approach worked very nicely until very recently. If I have 
> to modify the 
> application to work the way you've suggested, then of course, I will.
> 
> David

Ah. That makes sense. I hate changing code.

Hum, you could use the UNIX "cat" program to catenate all the files
together into a single file somewhere, then read that. In a shell
script, I'd do something like:

#!/bin/sh
cd /nfs/directory/to/scan
cat * >~/all.files
process ~/all.files

You didn't say what language you are writing in. But you can dynamically
invoke the /bin/cat program from almost anything via the BPXWUNIX
subroutine.

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

Reply via email to