The MVS system I'm currently using is blocking me from creating any uncatalogued datasets to test this, but what I have used for years to delete datasets from a batch job is a delete step like this: //STEP1 EXEC PGM=IEFBR14 //DD1 DD DISP=(MOD,DELETE),SPACE=(TRK,(0)),UNIT=SYSALLDA, // DSN=RBOLAN.FT7520T.RPTDATA.BYBRANCW //DD2 DD DISP=(MOD,DELETE),SPACE=(TRK,(0)),UNIT=SYSALLDA, // DSN=RBOLAN.FT7520T.BRTOTAL.BYBRANCW //DD2 DD DISP=(MOD,DELETE),SPACE=(TRK,(0)),UNIT=SYSALLDA, // DSN=RBOLAN.FT7520.FTPDS
I believe that all that is necessary to delete uncatalogued datasets is to add the VOL=SER= information naming the volume to each DD card. --Roger IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU> wrote on 01/09/2008 03:32:19 AM: > I have several datasets nonvsam controlled by SMS that are uncataloged, > they are lost on the disks, tried to delete catalogued and SMS does not > allow. I am trying to delete the VVDS the disk using the job .. > > //DELETE JOB... > //STEP1 EXEC PGM=IDCAMS > //DD1 DD VOL=SER=VSER01,UNIT=3380,DISP=OLD > //SYSPRINT DD SYSOUT=A > //SYSSIN DD * > DELETE - > EXAMPLE NONVSAM - > FILE(DD1) - > NVR > /* > > Get return code 0 and dataset is not deleted, the SMS is not allowing, > someone I do know how to delete these data-sets > > -- > Hélio José da Silva > Depto. Software Básico > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- 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