java.lang.Object
com.blackhillsoftware.zutil.io.ZFileX
Call IBM JZOS
ZFile
methods without a compile time dependency on
the JZOS jar.
These methods will fail if IBMJZOS is not available at runtime. They
are convenience methods to allow code using JZOS to be written and
compiled without reference to the IBMJZOS jar.
Only a selected few methods are available - primarily methods that are likely
to be useful with the RecordReader/Writer and TextRecordReader/Writer
classes. Other methods may be added as required.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static boolean
static boolean
-
Constructor Details
-
ZFileX
public ZFileX()
-
-
Method Details
-
ddExists
- Parameters:
ddname
- the DD name- Returns:
- true if the DD name exists
- Throws:
IOException
- if an I/O error occurs
-
exists
- Parameters:
filename
- the dataset name using C fopen() conventions for referring to a dataset- Returns:
- true if the dataset exists
- Throws:
IOException
- if an I/O error occurs
-
dsExists
- Parameters:
dataset
- the dataset name- Returns:
- true if the dataset exists
- Throws:
IOException
- if an I/O error occurs
-