public class CatalogSearchSample
extends java.lang.Object
The sample program first uses CatalogSearch
to get a list of datasets matching the supplied
filter key. Then, for each dataset, ZFile.locateDSN(String)
is used to get the first entry
of the list of MVS volumes that contain the dataset. Finally ZFile.obtainDSN(String, String)
is used to obtain the format 1 DSCB information for the dataset.
If the complete lookup cannot be completed for a dataset (e.g. the volume not being mounted) a message is written and the dataset is skipped.
Constructor and Description |
---|
CatalogSearchSample() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |