Hi All,
Could any body let me know how to use the Zip command in Execute Activity stage .My requirement is that in a particular directiry i have two files say sample_Abc.txt and other is sample_def.txt .
How to zip files using datastage
Moderators: chulett, rschirm, roy
How to zip files using datastage
thanks n regards
nani
nani
You would have to have 'zip' installed on your DataStage server to do this, do you? Or compress or gzip as alternatives. As to the how, it's no different from doing it directly from the command line. If you are unsure of the syntax, try 'man xxxx' to get the man pages (if they are installed on your server) or a simple google search. Or ask a colleague for help, running it from DataStage doesn't change how it works.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I believe this is an Execute Command activity in a job sequence. If this is correct, simply use the regular command line (perhaps for gzip or compress). If anything needs to be parameterized, you need to put that and the remainder of the command into the Parameters field.
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.