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 Datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Delete Datasets
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: 1475
Location: Chennai

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

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Tue Jul 12, 2011 7:29 pm    Post subject: Reply to: Delete Datasets
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: 258

PostPosted: Tue Jul 12, 2011 7:34 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Tue Jul 12, 2011 7:43 pm    Post subject: Reply to: Delete Datasets
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

Site Director


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

PostPosted: Wed Jul 13, 2011 2:51 am    Post subject: Reply to: Delete Datasets
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm


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