Batch: To launch Encryption Facility for OpenPGP from batch, IBM® provides the IBM JZOS Batch Toolkit for z/OS® (JZOS). For sample code, see Figure 1. For complete information about setting up and using Java™ and the SDK for z/OS and for JZOS , see http://www-03.ibm.com/systems/z/os/zos/tools/java/.
UNIX Systems Services: Use UNIX System Services with Encryption Facility for OpenPGP commands like -g that generate key pairs to serve as the system key for signatures.
Environment variables for the Java JVM: IBM also provides sample code in SAMPLIB for the Java environment script to configure any environment variables for the Java JVM. See Figure 2.