IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Deleting multiple tapes using wild cards


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Swati Surana

New User


Joined: 11 Jan 2008
Posts: 7
Location: India

PostPosted: Fri Mar 21, 2008 3:17 pm
Reply with quote

Hi ,
I want to delete multiple tapes using wild cards as -
abcd.defg.*

I know how to delete a single tape , but not able to do for multiple tapes using wild cards.

Can anybody please help me in this.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Mar 21, 2008 3:29 pm
Reply with quote

You might want to delete datasets... not tapes

for tape dataset the most You can do is uncatalog them,
for tape related issues it would be wiser to speak to Your storage support group
Back to top
View user's profile Send private message
Swati Surana

New User


Joined: 11 Jan 2008
Posts: 7
Location: India

PostPosted: Fri Mar 21, 2008 3:36 pm
Reply with quote

I use the following code to delete a tape dataset... but i cant use wildcards in this.i have to list out all the names, which is quite troblesome when we have large number of tapes.

//PS000001 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSDBOUT DD SYSOUT=*
//IDCUT1 DD UNIT=SYSDA,
// SPACE=(CYL,(10,10))
//IDCUT2 DD UNIT=SYSDA,
// SPACE=(CYL,(10,10))
//SYSIN DD *
DELETE QITD.JSSBSA.BACK#BCB NONVSAM PURGE
/*
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Mar 21, 2008 3:45 pm
Reply with quote

please start using the right terminology,
to have a better understanding of what You are doing
and let people give the right answers and advice

again You are not deleteing the dataset, Your are just deleting their catalog entries..
which means uncatalog..

if You had looked at the manual You would have seen that idcams supports generic delete
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT1I211/20.1.1?SHELF=DGT1BK33&DT=20001016161533&CASE=

to avoid useless allocations, the IDCUTx DD's are needed only when building alternate indexes
Back to top
View user's profile Send private message
Swati Surana

New User


Joined: 11 Jan 2008
Posts: 7
Location: India

PostPosted: Fri Mar 21, 2008 4:00 pm
Reply with quote

I am sorry for using wrong terms .. But is there any way i can uncatalogue multiple tapes using wild cards
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Mar 21, 2008 4:04 pm
Reply with quote

the link was to the page with the info You requested
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
No new posts Deleting a Tape file JCL & VSAM 14
Search our Forums:

Back to Top