Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

difference between IDCAMS & IEFBR14

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
omprakash.mf

New User


Joined: 06 Jul 2010
Posts: 12
Location: hyderabad

PostPosted: Thu Mar 10, 2011 12:46 am    Post subject: difference between IDCAMS & IEFBR14
Reply with quote

Hi,

I know that we can use either IDCAMS or IEFBR14 to delete a VSAM file. Could you please let me know which is the effective one and why?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 10, 2011 12:54 am    Post subject:
Reply with quote

IEFBR14 is a do-nothing program -- literally all it does is issue an Assembler BR 14 command (which returns to the calling program). If you are allocating or deleting a file in JCL, you can use an IEFBR14 step to accomplish that. Since the file is not opened by IEFBR14, there are times when it makes sense to use it -- just as there are times when it makes sense to use IDCAMS. If you are deleting the VSAM file before defining it again, why not use one step of IDCAMS instead of an IEFBR14 step AND an IDCAMS step to define the VSAM file?

Bottom line: they are both effective and useful. Which to select depends upon external factors, such as whether the file is being defined again in the job.
Back to top
View user's profile Send private message
omprakash.mf

New User


Joined: 06 Jul 2010
Posts: 12
Location: hyderabad

PostPosted: Thu Mar 10, 2011 1:01 am    Post subject:
Reply with quote

Thanks Robert
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Thu Mar 10, 2011 1:09 am    Post subject:
Reply with quote

Omprakash,
In addition to Robert's response, you will find below topic on the forum relevant to your question. It talks about using these utilities to delete the migrated datasets.

http://ibmmainframes.com/about47330.html
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us