MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IEFBR14 vs IDCAMS efficient for deletion

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Tue Jun 20, 2006 7:25 am    Post subject: IEFBR14 vs IDCAMS efficient for deletion Reply with quote

Hi,

In my batch jobs which I run week-end and Month-end there will be lot of dataset deletions. Which one in IEFBR14, IDCAMS is efficient utility. Sometimes datasets will be migrated also.

Thanks
Nadh.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Jun 20, 2006 7:35 am    Post subject: Reply with quote

nadh,

*Sigh* Please SEARCH before posting. Check this link which discusses the exact same issue

http://mvsforums.com/helpboards/viewtopic.php?t=4431&highlight=idcams+iefbr14

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Tue Jun 20, 2006 8:00 am    Post subject: Reply with quote

Kolusu,

Thank you. The link suggests that "if a dataset is migrated, then with IEFBR14, a recall is done before delete. But, IDCAMS does not do the recall". Does it mean that even if Dataset is migrated IDCAMS will delete the dataset without recall. So if I replace all IEFBR14 DELETES by IDCAMS DELETE will performance will increase?

Thanks
nadh
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Jun 20, 2006 8:08 am    Post subject: Reply with quote

Quote:

So if I replace all IEFBR14 DELETES by IDCAMS DELETE will performance will increase?


nadh,

Define performance improvements

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Tue Jun 20, 2006 8:47 am    Post subject: Reply with quote

Kolusu,

As the jobs are using IEFBR14 for deleting datasets, sometimes running time is more. If i replace it by IDCAMS it will delete the migrated datasets also na, so can i replace IEFBR14 BY IDCAMS.

Cheers!!

Nadh.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Jun 20, 2006 8:53 am    Post subject: Reply with quote

nadh,

The only difference you will notice is the Elapsed time for the jobs as IEFBR14 has to recall the dataset before deleting it. So if you are concerned about the elapsed times of the jobs rather than CPU time then go ahead and change to IDCAMS.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RajSanj
Beginner


Joined: 17 Mar 2006
Posts: 15
Topics: 7

PostPosted: Wed Aug 02, 2006 2:04 pm    Post subject: Reply with quote

Hi Kolusu,

I am using IDCAMS to delete the migrated dataset, it works fine for most of the except for dataset with retention periods manually coded. I am getting following error message:
** VSAM CATALOG RETURN CODE IS 84 - REASON CODE IS IGG0CLFK-0

Is there anything specific I need to do in this case?

Regards,
RajSanj
Back to top
View user's profile Send private message
RajSanj
Beginner


Joined: 17 Mar 2006
Posts: 15
Topics: 7

PostPosted: Wed Aug 02, 2006 2:25 pm    Post subject: Reply with quote

Hi Kolusu,

Looks like this is happening because we didnot give purge option in IDCAMS.

Regards,
RajSanj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group