Ftp unix compressed .Z files in Datastage

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
nkumar_home
Participant
Posts: 19
Joined: Fri Apr 02, 2004 10:13 am

Ftp unix compressed .Z files in Datastage

Post by nkumar_home »

I need to ftp a few compressed .Z files I create to a client box. Currently I have a batch which calls a few jobs that get the files created. I run unix commands using DSExecute to compress the files. I can create a temporary ftp file with the ftp commands and call ftp from unix to send the files but I was wondering if there is any mechanism to ftp in binary mode from a datastage job. Our client prefers jobs done in regular Datastage jobs as far as possible and using batch scripts only when there isn't any other option.

Any ideas?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There isn't any other option. While technically the FTP stage says it can handle binary data, I wouldn't want to try and make it work... and I think you are out of luck in any case because the files are compressed.

Stick with your scripts and command line ftp.
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

can you pls let me know how to access the .gz files
RD
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply