File transfer processing on mainframes is usually non-interactive. This means that the host keys of the remote servers must be stored in such a way that user interaction is not needed during the batch process, and that both users and processes use non-interactive authentication methods for user authentication.
The key distribution tool,
/opt/tectia/bin/ssh-keydist-g3, can be used for storing multiple remote host keys to user-specific or common key store and setting up public-key authentication to multiple hosts.
For detailed information on the command syntax of
ssh-keydist-g3, see the man page.