Tommy Tsui wrote:
Hi all,
Is it possible to delete any UNCATLG or NOT CATLG 2 data set under HSM.
If
the volume is NON-SMS managed?

A dataset can be cataloged or not. NOT CATLG 2 is not catalog status of the dataset.
You can delete any uncataloged dataset using ADRDSSU using BY(CATLG,EQ,NO)

//STEP EXEC PGM=ADRDSSU,PARM='TYPRUN=NORUN' <- good for the beginning
//SYSPRINT DD SYSOUT=*
//PACK     DD DUMMY
//DISK1    DD VOL=SER=volser,DISP=OLD
//SYSIN    DD *
 DUMP DS(INCLUDE(**) BY(CATLG,EQ,NO)) -
 DELETE OUTDD(PACK) -
 LOGINDDNAME(DISK1,can be more dd's)


HTH
--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
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