Actually, there are several options for using SSH for transfer of datasets
between z/OS and Linux:

-- the first two are just SFTP file transfer, and don't require Co:Z on
Linux:

1) OpenSSH sftp client on Linux  ->  Co:Z SFTP server on z/OS

2) Co:Z SFTP client on z/OS -> OpenSSH sftp server on Linux

-- the next is the one that John refers to:
3) Co:Z Target Toolkit on Linux  ->  Co:Z DatasetPipes on z/OS
   use the "fromdsn" and "todsn" shell commands on Linux to interactively
pipe data to/from z/OS datasets over a ssh connection.   If you know about
OpenSSH Master/Slave sessions, you might be able to imagine some cool stuff
here.

-- finally, some fancier "z/OS Hybrid Batch" stuff:
4) Co:Z Launcher on z/OS  ->  Co:Z Target Toolkit on Linux
   Use a z/OS batch job step to run a shell script on Linux.  From within
the shell script, use fromdsn/todsn shell commands
   on Linux to "reach back" and access datasets or DDs in the original
batch job step.

In all (4) cases, OpenSSH is used on Linux and IBM Ported Tools OpenSSH is
used on z/OS along with components from the Co:Z Toolkit. Also, you can
easily substitute other *NIX platforms or even Windoze for "Linux".

Kirk Wolf
Dovetailed Technologies
http://dovetail.com



On Fri, May 11, 2012 at 10:32 AM, McKown, John <
[email protected]> wrote:

> Not too difficult. Nothing to be done on the clients, unless you want to
> implement the "fromdsn" and "todsn" commands. In that case, for UNIX you
> just put the proper versions in the proper subdirectory. For MS-Windows,
> put the commands in the Windows32 subdirectory, sorry "folder" (or some
> other place) and install Cygwin, if it is not already installed.
>
> On the z/OS system, update the /etc/ssh/sshd_config similar to:
>
> #Subsystem.sftp./usr/lib/ssh/sftp-server
> Subsystem sftp /HealthMarkets/coz/bin/sftp-server.sh
> Subsystem dspipes /HealthMarkets/coz/bin/dspipes
>
> /HealthMarkets/coz/bin is where I keep the UNIX Co:Z software. The
> "dspipes" Subsystem is only if you want to use "fromdsn" and "todsn" from a
> client to z/OS.
>
> You do need to restart the SSH server after you make the changes. What
> works today will continue to work without change. You just have some new
> facilities.
>
> --
> John McKown
> Systems Engineer IV
> IT
>
> Administrative Services Group
>
> HealthMarkets(r)
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone *
> [email protected] * www.HealthMarkets.com
>
> Confidentiality Notice: This e-mail message may contain confidential or
> proprietary information. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message. HealthMarkets(r) is the brand name for products underwritten and
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake
> Life Insurance Company(r), Mid-West National Life Insurance Company of
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
>
>
>
> > -----Original Message-----
> > From: IBM Mainframe Discussion List
> > [mailto:[email protected]] On Behalf Of Mark Steely
> > Sent: Friday, May 11, 2012 10:21 AM
> > To: [email protected]
> > Subject: Re: SFTP
> >
> > Thanks for all the information - I already use Co:z. for
> > SFTP's going from the MF to the Linux servers. I needed the
> > information for the Linux accessing the MF and getting z/os datasets.
> >
> > Thank You
> >
> > -----Original Message-----
> > From: IBM Mainframe Discussion List
> > [mailto:[email protected]] On Behalf Of Rob Schramm
> > Sent: Friday, May 11, 2012 10:13 AM
> > To: [email protected]
> > Subject: Re: SFTP
> >
> > I have to agree with John.  After going thru an exercise doing SFTP
> > without Co:Z and realizing how much the BPXBATCH and scripting
> > interface lacks... 100% recommend using Co:Z.  Makes for a much less
> > stressed sysprog.
> >
> > Rob Schramm
> > Senior Systems Consultant
> > Imperium Group
> >
> >
> > On Fri, May 11, 2012 at 9:48 AM, David Crayford
> > <[email protected]> wrote:
> > > On 11/05/2012 9:41 PM, Shane Ginnane wrote:
> > >>
> > >> On Fri, 11 May 2012 21:20:34 +0800, David Crayford wrote:
> > >>
> > >>> ... - but you can't knock *free* software on z/OS, especially
> > >>> when it's of the quality that Dovestail churn.
> > >>
> > >> Perish the thought.
> > >> I don't believe I've ever disparaged Kirk or their
> > software. Our only
> > >> jousts have probably been the result of my expressing my
> > general distaste
> > >> with java.
> > >> And as it happens, I may be changing those views as well
> > as I play with
> > >> writing some Android apps. ....<g,d,r>
> > >
> > >
> > > Go for it m8!!! It's good fun and I've yet to brick my sons
> > $99 LG. Although
> > > I've only done the flashlight so far.
> > >
> > >
> > >> Shane ...
> > >>
> > >>
> > ----------------------------------------------------------------------
> > >> For IBM-MAIN subscribe / signoff / archive access instructions,
> > >> send email to [email protected] with the message: INFO IBM-MAIN
> > >
> > >
> > >
> > ----------------------------------------------------------------------
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to [email protected] with the message: INFO IBM-MAIN
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> > ******* CONFIDENTIALITY NOTICE *******
> > This e-mail message and all attachments transmitted with it may
> > contain legally privileged and confidential information intended
> > solely for the use of the addressee. If the reader of this message
> > is not the intended recipient, you are hereby notified that any
> > reading, dissemination, distribution, copying, or other use of this
> > message or its attachments is strictly prohibited. If you have
> > received this message in error, please notify the sender
> > immediately and delete this message from your system. Thank you.
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

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

Reply via email to