Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Deleting multiple tapes using wild cards

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Deleting multiple tapes using wild cards
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Mar 21, 2008 3:29 pm    Post subject: Reply to: Deleting multiple tapes using wild cards
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Mar 21, 2008 3:45 pm    Post subject: Reply to: Deleting multiple tapes using wild cards
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Mar 21, 2008 4:04 pm    Post subject: Reply to: Deleting multiple tapes using wild cards
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 4 Fri Mar 24, 2017 2:24 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
No new posts Cards mainframe developer requirement... capricorn Mainframe Jobs 0 Sun Sep 11, 2016 9:57 am
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us