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

Delete a member in Multiple PDSs


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

New User


Joined: 22 Aug 2008
Posts: 14
Location: Bangalore

PostPosted: Tue Aug 26, 2008 10:51 am
Reply with quote

Hi ,

I have a member present in 100 PDSs all with the same high level qualifier X.Y.Z.*. I want to delete the member from all the 100PDSs , by using some JCL utilities. Can any one please suggest me some solutions?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Aug 26, 2008 11:03 am
Reply with quote

Hello,

Create one idcams delete statement and clone it 100 times.
Back to top
View user's profile Send private message
sekhar redy

New User


Joined: 22 Aug 2008
Posts: 14
Location: Bangalore

PostPosted: Tue Aug 26, 2008 11:15 am
Reply with quote

hi dick,

thnks for the response. But i dont want to clone it 100 times, and give the name of the 100PDS names manually. my datasets are like x.y.z.n1(abc),
x.y.x.n2(abc), x.y.z.n3(abc) etc..so if i clone it 100 times, i need to specify n1, n2, n3 manually.. is there is any other way to solve this?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Aug 26, 2008 11:29 am
Reply with quote

Hello,

You probably realize that you have spent more time trying to get around building the statements than it would have taken to build them.

Quote:
and give the name of the 100PDS names manually.
I believe this is not completely accurate. If all of your dsn's are in sequence you can do this very quickly editing. Create the first one and repeat it 8 times - these become n1 thr n9. Repeat these and add a n0 at the beginning of the second set. Insert a 1 after n and before the digit (0-9). Copy these 10 and change 1x to 2x. And so on.

For giggles, i did it in well under 2 minutes. . . It took longer to type those "directions" than to create the series icon_wink.gif
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 DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
Search our Forums:

Back to Top