View previous topic :: View next topic
|
Author |
Message |
joy_deep
New User
Joined: 03 Jan 2006 Posts: 14
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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
whether You like it or not |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Assuming a relative new version of z/OS a simple would do it.
/* REXX */
"DEL ABC.DEF.GHI.* MASK " |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
but then why use rexx when a simple IDCAMS job would be more than enough |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Quote: |
but then why use rexx when a simple IDCAMS job would be more than enough |
Because it is the requirement. . . |
|
Back to top |
|
|
|