|
|
| Author |
Message |
niks_jude Warnings : 1 Active User
Joined: 01 Dec 2006 Posts: 81 Location: Mumbai
|
|
|
|
We do not have a utility like CA11RMS in our system to do such a thing.
Can I have a REXX code which deletes all datasets with DISP=NEW if they are alreay catalogued. This would save us from manually deleting all such datasets in every re-run. |
|
| Back to top |
|
 |
References
|
Posted: Fri May 23, 2008 3:04 pm Post subject: Re: Delete all datasets in JCL with DISP=NEW if they exist |
 |
|
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 2565 Location: italy
|
|
|
|
check the cleanup utility by Gilbert Saint Flour
file 183 of cbttape or..
search the net for "gilbert saint flour freeware" or
go there directly
review with Your support before using |
|
| Back to top |
|
 |
niks_jude Warnings : 1 Active User
Joined: 01 Dec 2006 Posts: 81 Location: Mumbai
|
|
|
|
| We will not be able to use this assembler program as we are not allowed to use such free load modules. If I can get a REXX that would be great help. |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 2565 Location: italy
|
|
|
|
it' s not a object only thing...
the source is there and can reviewed and audited by Your support
even if You got somebody' s else REXX script the reviewing and auditing should be done anyway
since there is a working alternative do not expect much help  |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 2913 Location: Brussels once more ...
|
|
|
|
Have you actually considered making your jobstream easily restartable.
Every job that I create has specific restart points where all datasets to be created until the next restart point are deleted via IDCAMS.
That way, if a job abends, the restart procedure is plain and simple. |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 2565 Location: italy
|
|
|
|
Hi expat !
I agree, but it looks like also procedure writing suffers from the poor understanding of the concept of fast restartable unit
1 - preprocessing ( dataset allocation / priming )
2 - processing
2a - abnormal condition handling ,reset
3 - postprocessing ( backups )
planned to minimize the abnormal condition handling and restart
without any job modification |
|
| Back to top |
|
 |
|
|