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: 10327
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: 10327
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: 10327
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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm

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