Hello All,

We have a need to implement sftp transfers in place of some ftp batch jobs.  I 
have installed IBM Ported Tools OpenSSH, and can successfully use putty to log 
into my z/OS system (1.13).  From there I can connect to the remote sftp server 
on another platform and transfer files like a boss.  What I need to be able to 
do is transfer files via sftp in a batch job.  I can't figure out how to pass 
the user/password from a batch job. I see examples such as: 

//*                                      
//STEPNAME EXEC PGM=BPXBATCH,REGION=8M   
//STDERR   DD   SYSOUT=*                 
//STDOUT   DD   SYSOUT=*                 
//STDPARM  DD   *                        
SH sftp [email protected]    
/*                                       
//                                       

Also it would be a bonus if we could store userid/password in a seperate file 
like NETRC so that could be racf secured to only authorized users on the z/OS 
side.

Thanks
Dana

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to