Discussion of the COZBATCH utility for z/OS
wolfgang
Posts: 12 Joined: Tue May 17, 2011 2:37 am
Post
by wolfgang » Tue May 17, 2011 2:51 am
Hello
is there a possability with COZBATCH to use SCP z/OS Client to an UNIX SCP Server.
If yes, where could i find a sample JCL or a manual for more information.
dovetail
Site Admin
Posts: 2022 Joined: Thu Jul 29, 2004 12:12 pm
Post
by dovetail » Tue May 17, 2011 8:13 am
COZBATCH is a utility that allows you to run the Unix shell in a batch job. So, you can run any Unix commands in it.
The Co:Z Toolkit does not include a port of SCP, but you could run the version that IBM ships with Ported Tools OpenSSH.
Is there a reason why you need SCP vs SFTP?
wolfgang
Posts: 12 Joined: Tue May 17, 2011 2:37 am
Post
by wolfgang » Wed May 18, 2011 12:45 am
yes, I have a customer who needs files from us, but he only supports scp.
do you have an example of scp with cozbatch?
dovetail
Site Admin
Posts: 2022 Joined: Thu Jul 29, 2004 12:12 pm
Post
by dovetail » Wed May 18, 2011 8:10 am
We don't have an example. Start with our RUNSFTP or RUNSFTPK sample JCL, and modify to use "scp" instead of "cozsftp".