How to check whether a PS file is cataloged or not in a JCL?
Posted: Mon Jun 19, 2023 11:41 am
Hi All
How to check whether a PS file is cataloged or not in a JCL, need to use the same PS JCL in the second step of the JCL?
I have tried IDCAMS using LISTCAT but it's return zero even when dataset is not found.
How to check whether a PS file is cataloged or not in a JCL, need to use the same PS JCL in the second step of the JCL?
I have tried IDCAMS using LISTCAT but it's return zero even when dataset is not found.