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: 10256
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: 10256
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: 10256
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 create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


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