I have sent FTP's from the mainframe, but no sftp. One of the problems 
that we encountered was the file/member that contained the ftp commands 
has to be set with nonum. There cannot be anything in column 72-80. FTP 
thinks this is data.
I hope this helps.

Pat Mihalec
Rush University Medical Center
Senior System Programmer
(312) 942-8386
[EMAIL PROTECTED]



Jon Brock <[EMAIL PROTECTED]> 
Sent by: IBM Mainframe Discussion List <[email protected]>
02/22/2008 10:17 AM
Please respond to
IBM Mainframe Discussion List <[email protected]>


To
[email protected]
cc

Subject
Batch job to perform sftp transfer






WE have a need to begin electronically sending data to a state agency
which has formerly received a tape from us.  They have set up an sftp
server on their end and given us the user ID and password they want us
to use.  I can sign on to their site from Windows and from a Linux guest
hosted on our mainframe but I have not so far been able to sign on from
z/OS. 

It is not possible to start an ssh session from within OMVS under TSO.
Presumably, we should be able to start sshd and sign on from a client
session, but that entails some security work which has not been
performed.  (Given the workload on our security guy, I don't look for it
any time soon, either.)  This makes testing and experimenting slow.

Ideally, I would like to be able to set up a batch job that can be run
under scheduler control to transmit this file when it is generated.  If
I am reading the correct information, though, it is not possible to do
this in batch mode using ID/password authentication.  Can anyone say
whether this is correct?  Am I going to need to get the remote server to
add our keys to their setup? 

Thanks,
Jon

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to