Gil,
I assume that you are correct, but I'm not certain that I understand the
question.
Co:Z Batch is a utility to run the z/OS Unix shell in batch, fixing many of
the limitations of BPXBATCH.
What Co:Z SFTP users usually do something like:
// EXEC PGM=COZBATCH (run a z/OS UNIX login shell in the same AS)
//STDIN DD *
# here is your in-line z/OS UNIX shell script
user=myuser
host=host1.myco.com
ssh_opts=...
# the following runs the Co:Z SFTP command, which
# uses the z/OS OpenSSH client under the covers.
cozsftp $ssh_opts ${user}@${host} <<EOB
get remote.file //HLQ.LOCAL.DSN
put //DD:MYDD remote.file2
EOB
//MYDD DD DISP=SHR,DSN=HLQ.FOO.BAR
//
You can do this with BPXBATCH instead of COZBATCH, you just have to put
your script in a zFS file rather than an inline data set. (Well, using a
DD like "MYDD" from a BPXBATCH shell script is problematic, but you can use
BPXBATSL and a non-login shell).
I will defer to Matt, but I don't think that his question has anything to
do with COZBATCH vs BPXBATCH.
Maybe he is hoping that since OpenSSH will be a z/OS 2.2 element that IBM
OpenSSH sftp will support data sets....
IBM OpenSSH 1.3 SFTP does not support z/OS data sets, and IBM's SOD doesn't
mention data set support.
Kirk Wolf
Dovetailed Technologies
http://dovetail.com
On Mon, Mar 9, 2015 at 5:30 PM, Paul Gilmartin <
[email protected]> wrote:
> On Mon, 9 Mar 2015 14:55:27 -0500, Kirk Wolf wrote:
> >
> >OpenSSH is an application that uses the z/OS TCP/IP stack. IBM did not
> >announce that z/OS Communications Server would include OpenSSH.
> >
> Other than component ownership of the function, does this imply
> any operational difference?
>
> >Kirk Wolf
> >Dovetailed Technologies
> >http://dovetail.com
>
>
> >On Mon, Mar 9, 2015 at 7:15 AM, Dazzo, Matt wrote:
> >
> >> Just to clarify, does the paragraph below mean that the z/OS TCPIP stack
> >> will support OpenSSH without having ported tools? We are currently using
> >> Cozbatch but would love to be able to use MVS TCPIP for SSH. Thanks Matt
> >>
> Would I be correct in suspecting that if whatever Matt is doing works
> with CoZBatch but not with BPXBATCH, OpenSSH 1.3 will likewise not
> work with BPXBATCH?
>
> -- gil
>
> ----------------------------------------------------------------------
> 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