IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IEF BR 14 - once again, understanding from ab intio.


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu May 06, 2010 10:14 pm
Reply with quote

Hi,

Was looking at this thread. and was not sure if IEFBR14 can abend?

After all this is the only machine code of IEFBR14:

Code:
SR    R15,R15  put zero into register 15 (return code)
BR    R14      branch to the address in register 14 (return to scheduler)
Unless some programmer write his own program with name IEFBR14 and use a steplib to point to it - he might have a surprise to have Sx13 kind of abend, otherwise what will issue an abend? I might be wrong, and not sure what exactly needs to be done to understand this fact.

Other point which is made about DISP - I believe, that's a JCL error, not sure if it's a perception difference but then RC from such a JCL eecuting only IEFBR14 with wrong DISP should be a blame on IEFBR14? IEFBR14 was created because while DD statements can create or delete files easily, they cannot do so without a program to run. The program used in the JCL does not actually need to use the files to cause their creation or deletion — the DD DISP=... specification does all the work. Thus a very simple do-nothing program was needed to fill that role, right?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu May 06, 2010 11:19 pm
Reply with quote

Hi Anuj,

Quote:
was not sure if IEFBR14 can abend
Any program that can be executed can abend. . . Might not be very likely, but can happen.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri May 07, 2010 4:35 pm
Reply with quote

Thanks Dick.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 07, 2010 4:38 pm
Reply with quote

I can certainly recall getting an abend from IEFBR14 icon_redface.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Need Help in understanding what is th... PL/I & Assembler 9
No new posts Understanding Program Objects All Other Mainframe Topics 5
No new posts Need Help on the understanding of the... PL/I & Assembler 3
No new posts Understanding Syncpoint : CICS 3
No new posts Understanding Sort Control Cards DFSORT/ICETOOL 0
Search our Forums:

Back to Top