Hi All,
I am trying to unzip a file (sample.zip) in Linux server from DataStage using the following command, but it is not unzipping and I am not getting any error.
Basically I need to unzip any kind of compressed file. I can go with any kind of options. Please help me on this.
ex:
unzip /data/sample.zip
Thanks,
Venkata
Unzip a file in Linux from DataStage Execute Command
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 22
- Joined: Wed May 08, 2013 8:38 am
- Contact:
Unzip a file in Linux from DataStage Execute Command
Thanks,
Venkata Gundavarapu
Venkata Gundavarapu
-
- Premium Member
- Posts: 22
- Joined: Wed May 08, 2013 8:38 am
- Contact:
Unzip a file in Linux from DataStage Executive Command
I didn't get any error. It is saying that it is processed.
Thanks,
Venkata
Thanks,
Venkata
Thanks,
Venkata Gundavarapu
Venkata Gundavarapu
Sorry - missed that part. So I would wager it is working fine just not putting the files where you'd really like them. Have you looked in the Project directory? Without directions to the contrary in your unzip command, the files will end up in the "current working directory" which for a running job is the project it lives in. Use the -d option to specify the target directory.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 22
- Joined: Wed May 08, 2013 8:38 am
- Contact:
Unzip a file in Linux from DataStage Execute Command
Thank you Craig,
The following option is working fine for me.
Use the -d option to specify the target directory.
Thank you again.
Thanks,
Venkata
The following option is working fine for me.
Use the -d option to specify the target directory.
Thank you again.
Thanks,
Venkata
Thanks,
Venkata Gundavarapu
Venkata Gundavarapu