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

Delete Datasets


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
joy_deep

New User


Joined: 03 Jan 2006
Posts: 14

PostPosted: Tue Jul 12, 2011 1:31 pm
Reply with quote

Hi,

I have N number of datasets. They are of pattern ABC.DEF.GHI.*. How can I delete those datasets using Rexx? Please help.

Thanks!
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Jul 12, 2011 1:37 pm
Reply with quote

www.ibmmainframes.com/viewtopic.php?t=33454
Expat's code..
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jul 12, 2011 7:29 pm
Reply with quote

Quote:
How can I delete those datasets using Rexx? Please help.


usually when for some task the tool is chosen it means that the due diligence has been done...
comparison of different tools
availability of the tool
availability of the skills related to the tool

shooting in the dark 'I wanna do it with REXX' without the proper rexx skills
is the most <any derogatory adjective of Your choice> approach that could be chosen icon_evil.gif
whether You like it or not
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue Jul 12, 2011 7:34 pm
Reply with quote

Assuming a relative new version of z/OS a simple would do it.

/* REXX */
"DEL ABC.DEF.GHI.* MASK "
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jul 12, 2011 7:43 pm
Reply with quote

but then why use rexx when a simple IDCAMS job would be more than enough icon_biggrin.gif
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: Wed Jul 13, 2011 2:51 am
Reply with quote

Quote:
but then why use rexx when a simple IDCAMS job would be more than enough
Because it is the requirement. . . 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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts Delete file row if blanks in the firs... DFSORT/ICETOOL 5
Search our Forums:

Back to Top