ISDSN – Confirms whether a data set and/or member exists
This function returns 1 if a data set exists, or 0 if it does not.
ISDSN(<dsname>)
Where <dsname>
is the name of the data set to
check.
For example, ISDSN(“MY.DATASET”)
returns 1 if
MY.DATASET
exists, otherwise returns 0.