Running OO applications under z/OS UNIX

It is recommended that you run object-oriented COBOL applications as z/OS® UNIX applications. You must do so if an application begins with a Java™ program or the main factory method of a COBOL class.

Specify the directory that contains the DLLs for the COBOL classes in the LIBPATH environment variable. Specify the directory paths for the Java class files that are associated with the COBOL classes in the CLASSPATH environment variable as follows:

  • For classes that are not part of a package, end the class path with the directory that contains the .class files.
  • For classes that are part of a package, end the class path with the directory that contains the "root" package (the first package in the full package name).
  • For a .jar file that contains .class files, end the class path with the name of the .jar file.

Separate multiple path entries with colons.

Note: Start of changeIf the CLASSPATH environment variable contains the filename wildcard (*), the wildcard cannot be expanded in the case where the JVM is initialized by the COBOL runtime.End of change