If you use z/OS OpenSSH along with Co:Z SFTP, this is trivial.

See:  https://coztoolkit.com/docs/sftp/client.html#client-batch
Which shows some examples.

Co:Z is free to use under the terms of our Community License.  Enterprise 
License and Support agreements are also available.     See:  
https://coztoolkit.com/support.html


Kirk Wolf
Dovetailed Technologies
https://coztoolkit.com

On Wed, Dec 3, 2025, at 1:45 AM, Peter wrote:
> Hello All,
> 
> 
> Does anyone have a sample SFTP JCL, where you send datasetfile to other
> platform like linux or Unix.
> 
> What changes have to be done from mainframe users directory before sending
> dataset to linux(non-mf) ?
> 
> How do you manage the host key verification process from mainframe?
> 
> Peter
> 
> ----------------------------------------------------------------------
> 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