The JZOS Toolkit consists of classes in package com.ibm.jzos
,
which is distributed with the IBM Java SDKs for z/OS.
These classes depend on a Java Native Interface (JNI)
library which is packaged with the supported IBM z/OS Java SDKs.
The JZOS toolkit classes may be used in conjunction with the JZOS Batch Launcher, but may also be used with other JVM containers, including WebSphere and the Unix System Services "java" command line launcher.
For more comprehensive information on installing and using the JZOS Batch Launcher and Toolkit,
refer to the JZOS Batch Launcher and Toolkit Installation and User's Guide
on the
JZOS Java
Launcher and Toolkit Overview web site.
Key classes in the com.ibm.jzos
package include:
RecordReader
andRecordWriter
- Classes that provide a high performance interface for reading and writing sequential data sets in record mode.
ZFile
- A thin wrapper for many of the z/OS C library I/O functions. Also includes an interface to BPXWDYN (text based interface to MVS dynamic allocation).
ZUtil
- An interface for various z/OS native functions, excluding I/O.
FileFactory
- A class with static factory methods for building a platform-portable BufferedReader, BufferedWriter, InputStream, or OutputStream on a text file or a MVS dataset.
MvsConsole
- An interface to the MVS Operator console and job log.
Sample Programs
Included in the JZOS Toolkit is the com.ibm.jzos.sample
package,
which contains several sample programs.
Module | Description |
---|---|
ibm.jzos | |
ibm.jzos.sample | |
ibm.zosrrs |