Please help me on stroing files with SFTP

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
Loganathan Arumugam
Posts: 4
Joined: Thu Mar 05, 2015 2:27 am

Please help me on stroing files with SFTP

Post by Loganathan Arumugam »

Hi Team,

When informatica team sends to our mainframe server file via SFTP , its saving under /export/home/HEATFTP.(in HEATFTP userid we have added public key)
But we need those data not to store in above path. We need directly save in datasets.(eg abc.efg.zzz)
We have achieved this through FTP but in SFTP its saving in the above path.
We need your valuable inputs asap.
Thanks in advance.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Please help me on stroing files with SFTP

Post by dovetail »

To store a file as a data set, the remote client needs to send file names like: //HLQ.MY.DSN

For more information, see: http://dovetail.com/docs/sftp/using.html#ds

If you need to see more details on what commands are being sent from the remote client (Informatica) to CO:Z SFTP server, then you should turn on tracing for this userid and capture the Co:Z SFTP server session log.

To do this, you would create/update the user's $HOME/.ssh/sftp-server.rc file as described here:
http://dovetail.com/docs/sftp/config.ht ... _server_rc

and uncomment the lines:

export SFTP_SERVER_OPTIONS="-e -l debug3"
export COZ_LOG=T

Then, reproduce the problem and then post the session log file (by default in /tmp/sftp-server.<userid>.<timestamp>.<pid>.log )
Post Reply