IBM Security Z Security

 View Only

 DATASET profiles with MISSING(REAL_DSN) ?

Sławomir Bujniak's profile image
Sławomir Bujniak posted Mon September 08, 2025 03:31 PM

Hello,

Could you please advice me what is the best way to get my goal - I try to find the DATASET profiles for which there ara no real objects for the current moment.

I try via type=DSN and MISSING(REAL_DSN) in the 'select' enclosure ?? is it a right way ?

Or perhaps there is some pre-defined report that ?

Any info will be appreciated.

thx in advance

Slawomir Bujniak

 

Rob van Hoboken's profile image
Rob van Hoboken IBM Champion

In AU.V you will find two options that do the trick:

VERIFY EMPTY - identifies all DATASET profiles for which no data set objects were found in CKFREEZE, but it leaves behind the high level qualifier profiles (hlq.* or hlq..**)

VERIFY ALLNOTEMPTY also deletes the hlq profile

The profiles are listed in SYSPRINT and DELDSD command are generated in CKRCMD.

Note, you must have a CKFREEZE data set with all VTOC and CATALOG entries.  For migrated data sets, also get the MCDS.

See: NOTEMPTY and ALLNOTEMPTY

Your suggestion about using NEWLIS TYPE=DSN won't work, because this lists the existing data sets, and finds corresponding profiles for them.  No data set , no DSN entry.