How to use .zip file in DataStage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
itsgops
Participant
Posts: 2
Joined: Tue Apr 21, 2009 2:03 am

How to use .zip file in DataStage

Post by itsgops »

Hi,

I have a file in .zip format in unix directory. I want to use this .zip file and get the source file and use the same file in DataStage.

File details: cust.zip. This cust file contains 3 columns like, cust_no, cust_name and salary.

May I know how to access this file and which stage is suitable for this. I have tried through Expand Stage but it must have single input link.

Let me know anybody aware of this concept...

Thanks in Advance
Gops
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

i think if the file is zipped in a windows environment there is no way to unzip in unix .If its zipped using gzip or compress then you can go for before job routine or external filter .
Nag
sanjay
Premium Member
Premium Member
Posts: 203
Joined: Fri Apr 23, 2004 2:22 am

Re: How to use .zip file in DataStage

Post by sanjay »

Hi

you can use Expand Stage which will unzip the file same like unzip comand in unix create a common job for that then use the source file in job

Thanks
Sanjay
itsgops wrote:Hi,

I have a file in .zip format in unix directory. I want to use this .zip file and get the source file and use the same file in DataStage.

File details: cust.zip. This cust file contains 3 columns like, cust_no, cust_name and salary.

May I know how to access this file and which stage is suitable for this. I have tried through Expand Stage but it must have single input link.

Let me know anybody aware of this concept...

Thanks in Advance
Gops
Post Reply