Question on openSSH and sending file to MVS file formats

John R. Mull JRM1 at ntrs.com
Fri Feb 8 07:15:01 EST 2008


Hello, 

I was looking for Damien Miller, Markus Friedl or Theo de Raadt to 
possibly answer an SFTP question.  I am having trouble locating an example 
and think the task can not be done.

Do you have an example of  an unix host machine initiating a file transfer 
 to an ibm z/OS and create a mvs file?

I have examples from appendix A of the IBM Ported Tools for z?OS Users 
Guide that shows how from IBM jcl initiated, I shell down using the !cp 
command to pull it in to z/OS unix, then sFTP to the external unix 
machine.  That works ok.  I can also run an IBM mvs job and pull a file 
from my Tokyo site and create a MVS file, but it is running the program on 
the IBM side.

If my client's  unix Sun box in Tokyo connects to my chicago  ibm 
mainframe, what sFTP commands to I use to create a MVS file? 

This perhaps?

        put    john_sftp_test.txt     "//'TEST.JOHN.SFTP.TEXT'" 
        quit

Or perhaps I need to have a file watcher running on ibm z/Os unix to run a 
program to complete the transfer. 

Thank you for your assistance.


Regards,
John  Mull
Northern Trust Bank, Chicago


More information about the openssh-unix-dev mailing list