I have bunch of Zip files. All the file names start with same name ex:
file1
file2
file3
.
.
.
.
.
filen
I am using FilePattern. But all my files are Zip files.How can I read these Zip files as Filepattern does not have the filter option.
Please help.
Reading Bunch of Zip files using File pattern
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Like putting your right elbow in your left ear some things are impossible. You need to pre-process the zipped files with a script that unzips them, then you can use a File Pattern in the Sequential File stage to process the unzipped files.
Or you could create a loop in a job sequence that unzips one at a time and executes a job to process that particular file.
Or you could create a loop in a job sequence that unzips one at a time and executes a job to process that particular file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Disk is cheap.Hope wrote:I did that in before job subroutine but I have space issues. When I unzip the files I get the error " No disk space".
Get more disk.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.