-------------------------------------<snip>------------------------------------

Saurabh,

I use a two step process for this.

1) I execute an IEHLIST against the volume that I wish to validate all data sets are indirectly cataloged (normally a SYSRES and/or DLIB volume)

2) I then execute a Rexx execute that I wrote which will perform a LISTC against the data set name (extracted from the IEHLIST) and then check its volume to see if it is cataloged to the CATPARM parameter passed to the EXEC. This allows me to validate really any style catalog entry (direct or indirect). If the catalog entry does not match; it is reported as being "bad" and then IDCAMS statements are generated to perform a DELETE NOSCRATCH and CATALOG with the passed CATPARM value. This allows me to review both the reports (I report on good and bad entries) and the IDCAMS statements before correcting.

Craig Pace
----------------------------------------<unsnip>-------------------------------
Craig, could you chare that EXEC with me, via private E-Mail? I'm a "babe in the woods" when
it comes to REXX.

Rick

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to