When you give VOL(serial_number) through java on Zos, make sure that the respective dataset has CATALOG defined.
The reason being is when we say CATALOG, it means, it will create an indexed version of created dataset, so that it can fetch back using the index. Otherwise, while searching for the dataset, we have to pass VOL(serial_number).
The reason being is when we say CATALOG, it means, it will create an indexed version of created dataset, so that it can fetch back using the index. Otherwise, while searching for the dataset, we have to pass VOL(serial_number).