
Chapter 7. I/O using the JZOS toolkit API 113
7.2 JZOS classes
In this section, we discuss the JZOS classes ZFile, ZUtil, FileFactory,
PdsDirectory and PdsDirectory.Member. The JZOS classes associated with
WTO are discussed in 3.4.2, “JZOS APIs for console communication” on
page 44.
The ZFile class contains all the JNI wrapped C/C++ functions for working with
data sets. ZFile useful static methods include the following.
allocDummyDDName() Allocates and returns a new DDName,
allocated to “DUMMY”.
bpxwdyn(command) Calls the BPXWDYN service, which is a
text-based interface to dynamic allocation.
ddExists(ddname) Answer true if the given DD name ...