Under MVS
SSH Tectia Server for IBM z/OS client-side applications can be executed in JCL by BPXBATCH
,
BPXBATSL
, or oshell
. scpg3
uses the same syntax
for interactive and unattended file transfers. sftpg3
has a batch
mode for non-interactive file transfers.
For easier user experience, file transfer client applications can also
be run using a file transfer JCL procedure provided in SAMPLIB
.
User interaction is not possible when using unattended file transfers. For
unattended use, users must be set up to use a non-interactive authentication
method, like a public key without a passphrase.
Because user interaction is not possible, the server host key must be stored
on disk on the client before unattended file transfers will succeed. More
information and examples on storing remote server keys can be found in Sections
Authenticating Remote Server Hosts and
Fetching Remote Server Keys.
For unattended and JCL PROC file transfer examples, see Chapter
Transferring Files.