开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: eqqdelds


 

开云体育

Rene,

Yes, that program is part of a LICENSED PROGRAM (Tivoli Workload Scheduler) –

I STRONGLY suggest you ignore a program that may or may not be available in the TK5 environment - and code either IEFBR14, ?IDCAMS or IEHPROGM

Using supplied utilities – OR – as Jose states, you certainly can ROLL your OWN - ?

?

IEFBR14 will of course FAIL if the data set is not there to delete – quick and dirty

?

IDCAMS will deal with catalogs – and is more robust and you can check and set the MAX return code -

?

Old tricks – on ANY job that is going to create new data sets – simply add a IDCAMS step prior to the create step to delete – this will insure you will not fail for duplicate data sets.? – set the MAXRC and check the Return code – if required – or set MAXRC to zero and go on to the next step.

?

Or – there may be reason to rename the existing data set if it exists -? IDCAMS can handle that too -

?

Coding JCL is a learning experience – and will become second nature if you do it enough

?

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - is NOT deducted from one’s lifespan

?

From: [email protected] <[email protected]> On Behalf Of jose via groups.io
Sent: Thursday, October 31, 2024 3:50 PM
To: [email protected]
Subject: Re: [H390-MVS] eqqdelds

?

I think You can build a utility to create a job that delete files,.with cobol,. Utility examine jcl syntaxis. On control-m exist a utility to delete.files.

?

El jue., 31 de octubre de 2024 4:58 a. m., rvjansen@... via <rvjansen=[email protected]> escribió:

Hi group members. I learned something new today: where I used to delete datasets (needed to be allocated later in the job) using IEFBR14 or IDCAMS, there is a program called EQQDELDS (part of TWS if I'm not mistaken) that can look at DD statements in following job steps and delete every dataset which already is catalogued, but will be allocated again with disp(new,delete) or disp(new,catlg).

?

Is there a program with equivalent functionality in TK5? Outside of TK5? Or is somebody willing to look into that so I can upgrade some of my JCL and be quicker with new JCL? A quick web search turned up nothing.

?

Please let me know.

?

best regards,

?

René Jansen.

Join [email protected] to automatically receive all group messages.