Robert and all:

To set the record straight, I looked at the object code, which is: 1BFF07FE, or
   SR     15,15
    BR    14

I believe the second APAR was the addition of equates for R14 and R15 and to change the code to
  SR      R15,R15
  BR      R14

 because the former failed to meet programming standards.

Mike Myers
Mentor Services Corporation

On 02/11/2016 12:44 AM, Robert A. Rosenberg wrote:
At 20:43 -0800 on 02/10/2016, Steve Beaver wrote about Re: AW: Re: You thought IEFBR14 was bad? Try GNU's /bin/tru:

I would absolutely love to see someone code the TEXT-UNITS for a DYNALLOC without using coded example and see how many days it would take them

The simplest code for a Br14 is

    LA       R15,0
                BR       14

It is a 2 instruction program that is as simple as it gets

I think that LA is actually a XR 15,15 or a SR 15,15.

Note that the zero'ing of 15 was one of the 2 mentioned APARs. The original version did not clear 15 before returning via 14. I forget what the other APAR was for.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tom Marchant
Sent: Wednesday, February 10, 2016 7:59 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: AW: Re: You thought IEFBR14 was bad? Try GNU's /bin/true code

On Wed, 10 Feb 2016 20:14:10 -0600, Paul Gilmartin wrote:

On Wed, 10 Feb 2016 16:39:45 -0800, Charles Mills wrote:

I have not been following this thread -- seemed like IBMMAIN
navel-gazing -- but FWIW IEFBR14 seems to be documented in the JCL U/G.

I like to maintain the distinction between a Guide and a Reference.
The Guide describes techniques; the Reference specifies functions.

Are you saying that it isn't documented if it is only documented in a User's Guide?

If that is the case, you'll never be able to use DYNALLOC.

--
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to