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
 

 

Delete a member in Multiple PDSs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Delete a member in Multiple PDSs
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

Site Director


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

PostPosted: Tue Aug 26, 2008 11:03 am    Post subject:
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    Post subject: Reply to: Delete a member in Multiple PDSs
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

Site Director


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

PostPosted: Tue Aug 26, 2008 11:29 am    Post subject:
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    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 member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
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


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