Multiple choice technology mainframe

SYSDSN(dataset name) instruction helps to ?

  1. Defines the dataset name in system Catalog

  2. Uncatalog the dataset name given

  3. Tells if a dataset name exists

  4. none

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

SYSDSN is a TSO/E REXX function that checks whether a dataset exists in the system. It returns 0 if the dataset exists, and a non-zero value if it does not exist. Option C correctly describes this purpose.

AI explanation

The SYSDSN function (used in CLIST/REXX under TSO) checks the system catalog and returns a status indicating whether a given dataset name exists (and its state, such as cataloged or not found). It's a query/inquiry function, not one that creates, catalogs, or uncatalogs a dataset itself.