SCP Client on z/OS

Discussion of the COZBATCH utility for z/OS
Post Reply
wolfgang
Posts: 12
Joined: Tue May 17, 2011 2:37 am

SCP Client on z/OS

Post by wolfgang »

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 »

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 »

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 »

We don't have an example. Start with our RUNSFTP or RUNSFTPK sample JCL, and modify to use "scp" instead of "cozsftp".
Post Reply