Using SFTP in execute command

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
ninsekh
Participant
Posts: 18
Joined: Fri Nov 17, 2006 12:20 pm
Contact:

Using SFTP in execute command

Post by ninsekh »

hi everybody!


I create a job sequencer which contains an execute command stage. This execute command stage consists in a sftp shell bash procedure. When i run this job, i receive this error message: sftp: not found

I would like to know if it's possible to execute an sftp procedure throught an execute command stage in a job sequencer. if it's possible, i would like to kown how it's built.

Thanks
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Can you run sftp from DataStage server ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Anything "not found" means it wasn't pathed correctly, assuming it exists. Try supplying the full pathname to sftp in your stage / script.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ninsekh
Participant
Posts: 18
Joined: Fri Nov 17, 2006 12:20 pm
Contact:

Post by ninsekh »

I put the pathname near the command. My job is finished successfully. Thanks you very much for your solutions!!!
Post Reply