I think you are looking for the DIAGNOSE command found in the AMS manual.  It 
will compare the BCS and VVDS and identify mismatches in either direction.

> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On
> Behalf Of esmie moo
> Sent: Tuesday, August 13, 2019 7:37 AM
> To: [email protected]
> Subject: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY
> 
> Gentle Readers,
> Is there a way of weeding out dsns with cataloged entries only.  I tried 
> DFDSS logical
> backup with NORUN option but it did not give me the desired results.  I coded 
> the
> VOLSER of the disk to no avail.  I am doing this exercise in preparation of 
> removing
> old dasd but experiences of the past jobs failed because the dsn is not 
> accessible
> Any suggestions would be helpful and welcomed.Here is an example of my jcl:
> //NORUN   EXEC
> PGM=ADRDSSU,REGION=4096K,PARM='TYPRUN=NORUN'          //*DFDSS1   E
> XEC PGM=ADRDSSU,REGION=4096K,TIME=1440                  //DASD1    DD
> UNIT=SYSALLDA,VOL=SER=PROD91,DISP=SHR                  //TAPE1  DD
> DSN=SYS2.CLOGR1.CLOGR2.LOGICAL,DISP=(,CATLG,DELETE),     //             U
> NIT=3490,TRTCH=COMP,LABEL=(1,SL)                     //SYSPRINT
> DD  SYSOUT=*                                              //SYSMAP   DD
> SYSOUT=*                                               //SYSIN    DD  *
>                DUMP DATASET(INCLUDE(SYS2.ORDMS.FILES.PROD))  -
>                           SPHERE                                       -
>                        SELECTMULTI(FIRST)                           -
>                        LOGINDDNAME(DASD1)                          -
>                         OUTDD(TAPE1) OPT(4) ALLDATA(*) ALLEXCP -
>                              TOL(ENQF)                                        
>               /*
> 
> 
> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to