Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10457
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: 10457
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: 10457
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 Can we merge these two sort cards int... abdulrafi JCL & VSAM 2 Thu Mar 08, 2018 4:03 pm
No new posts write multiple lines in PS file in cobol Balu5491 COBOL Programming 7 Wed Mar 07, 2018 10:27 am
No new posts Using multiple routines at exit 6 in ... Randy Horowitz All Other Mainframe Topics 2 Sat Feb 10, 2018 11:57 pm
No new posts Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts TBSARG - Deleting the search criteria... ISPFHerc TSO/ISPF 6 Thu Dec 14, 2017 8:18 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us