Reading from a remote directory in Sequence Job

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
s_avneet
Participant
Posts: 22
Joined: Wed Aug 31, 2016 8:28 am

Reading from a remote directory in Sequence Job

Post by s_avneet »

Hi All.

We have a requirement to read the incoming files from a folder. This folder is not local to DataStage server, but resides on the source application system server ( on a Windows server). DataStage is running on a Linux server.

I want to know if i can access the server from a sequence job?? And if i can use Execute command stage?

Cheers!!
Avneet
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Meaning... you are wondering if an Execute Command stage in a Sequence job can access a remote directory and move the files locally? If so, the answer is yes. I would suggest you get it working from the server's command line first before you even attempt to fold it into a DataStage job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

I recommend doing an SFTP to obtain the file with secure SSH keys in place.

Your company Security team will echo that statement.

I dislike shared mounts between Unix and Windows. But that is a personal choice, just like I do not like Liver or Uni.
Post Reply