IEFBR14 Article in Wikpedia



High Level Assembler(HLASM) for MVS & VM & VSE

IEFBR14 Article in Wikpedia

Postby steve-myers » Tue Mar 29, 2011 8:14 am

I just read over the IEFBR14 article in Wikpedia. There is a serious misconception about how the system is built. In particular, there is criticism about the version -
IEFBR14  CSECT
         SR    15,15
         BR    14
         END

The complaint is the END statement does not specify the entry point. The article is correct if it is linked from the Assembler object output, but this is a non-issue if it is linked from a load module in a "distribution" library, which is how the final load module is actually built (assuming it's linked from the "distribution" library, more likely it's simply copied from the "distribution" library to the "target" library). The reason for this is the entry point of a load module is not an attribute that is retained when it is used as input to the Linkage Editor or Binder. In fact, the formal packaging rules for z/OS products, as described in this manual effectively require the use of the ENTRY Linkage Editor control statement. You have to read roughly half way through the very long article to find this statement.

Another complaint is the module does not have identification. This is true, but since IEFBR14 is about as bullet proof as any module in z/OS, it is never seen in a dump, so it's a non-issue. I recall an IEFBR14 APAR from the days of OS/VS2 Release 1 where there was some issue about the identification that was required at the time, but I don't recall any particulars about it. The version in this post is basically what you now get with z/OS.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: IEFBR14 Article in Wikpedia

Postby BillyBoyo » Tue Mar 29, 2011 12:11 pm

steve-myers wrote:The version in this post is basically what you now get with z/OS.


Now I'm a little disappointed. I thought you'd improved on it :-) Always a jokey aim of mine, with the dumb assumption that it was just BR14. At least now I'll think of it as IEFSR1515BR14, even if that is a bit long.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: IEFBR14 Article in Wikpedia

Postby BillyBoyo » Tue Mar 29, 2011 12:37 pm

And the Wikipedia article can be user-amended, if you fancy it.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: IEFBR14 Article in Wikpedia

Postby steve-myers » Tue Mar 29, 2011 5:52 pm

BillyBoyo wrote:And the Wikipedia article can be user-amended, if you fancy it.
Not worth the effort. Some of the Wikpedia pages appear to have a link to report problems, but not the IEFBR14 page.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: IEFBR14 Article in Wikpedia

Postby BillyBoyo » Tue Mar 29, 2011 6:58 pm

Sorry, I thought (and never checked) that one could just edit articles on Wikipedia. Now checked. I don't have the time.

The article does look strange, "(t)here is an apocryphal story..." it quotes a John Pershing from IBM. The story doesn't make sense, as you indicated. Why would anyone ever run a link-edit with IEFBR14 in it? And why would "dump analysis" ever invovle IEFBR14?

I'd guess if this really is the way it looks now, or at some point, that they must have given it to a programmer grounded in "applications" stuff and let him get on with it. Who would think of doing a "code review" of IEFBR14?

Can someone browse the module to see what is actually inside?

I don't even like the JCL or general description. Of course, IEFBR14 can't create files. Why DISP=(MOD,....? Etc. Horrible thing.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: IEFBR14 Article in Wikpedia

Postby enrico-sorichetti » Tue Mar 29, 2011 7:03 pm

Can someone browse the module to see what is actually inside?
1BFF07FE 00000000
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: IEFBR14 Article in Wikpedia

Postby BillyBoyo » Tue Mar 29, 2011 7:07 pm

Thanks for the prompt response enrico. Spot on Steve. Wikipedia a pile of old tosh?

Oh dear, part of me now wants to know if it was ever like Wikipedia says it was...
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: IEFBR14 Article in Wikpedia

Postby DFSHDC40 » Wed Mar 30, 2011 4:11 am

If the code hasn't been changed, why is the LKED date today?
User avatar
DFSHDC40
 
Posts: 41
Joined: Sat Oct 16, 2010 4:16 pm
Location: IMS.SDFSRESL
Has thanked: 0 time
Been thanked: 0 time


Return to Assembler