You might try: //IEFBR14 EXEC PGM=IEFBR14 //DELETE DD DISP=(OLD,DELETE,DELETE),DSN=VSAM.DATA.SET //*
The initiator can now create and delete VSAM data sets. Another possibility is to do an IDCAMS delete with the NOSCRATCH option. Then you will need to do a DELETE component.name VVR FILE(ddname) with one DELETE for each component.name on each volume upon which it resides being listed separately. With said volumes being allocated to a unique DD name. Like: //Vvolser DD DISP=OLD,UNIT=SYSDA,VOL=SER=volser On Wed, Feb 12, 2014 at 1:45 PM, Guy Eshel <[email protected]> wrote: > Here's an interesting puzzle... > > We have a VSAM data set, which currently occupies more than 59 volumes: > - The data component spans on 59. > - The index component spans on 2, but one of them is not among the data's > 59. > Which sums up to 60 volumes. > > The actual data is accessable just fine - no issues reported from the > batch process using it. > > But now we want to get rid of the file, yet every attempt at manipulating > the data set itself (moving / deleting / reorganizing / migrating) fails > with errors such as: > IKJ56882I DATA SET VSAM.DATA.SET NOT ALLOCATED, TOO MANY VOLUMES > IKJ56882I NUMBER OF VOLUMES SPECIFIED EXCEEDS LIMIT > or > IEF195I DELJOB IDCAMS VSAMDD - MAXIMUM NUMBER OF DEVICES FOR DD EXCEEDED > > Haven't had any luck using IDCAMS / dfDSS / dfHSM / CA-Disk. > We have Catalog RecoveryPlus, but it doesn't offer a complete deletion > solution. Using it will probably require various ZAPs and cleanup. > > Is there a proper way to deal with this? Any suggestions would be > appreciated... > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- Wasn't there something about a PASCAL programmer knowing the value of everything and the Wirth of nothing? Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
