|
|
| Author |
Message |
avinashgup
New User
Joined: 03 Aug 2007 Posts: 7 Location: Naperville
|
|
|
|
Hi,
I am looking for a line command that can be used to mass delete datasets from option 3.4 in ISPF.
For instance there are 300 datasets starting with the qualifier TEST10.*.*
And i need to delete all of them using a line command.
Please let me know if there is any such command.
Thanks.
Avinash |
|
| Back to top |
|
 |
References
|
Posted: Wed May 07, 2008 6:51 pm Post subject: Re: Line command to deletes datasets |
 |
|
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 1519 Location: germany
|
|
|
|
| TSO DELETE 'TEST10.*.*' |
|
| Back to top |
|
 |
avinashgup
New User
Joined: 03 Aug 2007 Posts: 7 Location: Naperville
|
|
|
|
| This is throwing an error saying that "REENTER THIS OPERAND". I am not sure if we can use the wild card qualifier with the delete command. |
|
| Back to top |
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 1519 Location: germany
|
|
|
|
maybe not hlq.*.* - I can not test it here because at my site, the HLQ is the same for every ds for about 100 of us.
but HLQ.MLQ.* works.
either that or you did not type properly. |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3170 Location: Charlotte,NC USA
|
|
|
|
It's documented that DELETE won't work against a single HLQ.
Seems like there's a few options:
1. Write a small CLIST or REXX exec to use ISPF Dialog Services to replicate the same process.
2. Print the dataset list to a file, edit the file and add a DELETE command in front of each dataset name, and then run that through IDCAMS. |
|
| Back to top |
|
 |
|
|