I heard that IEFBR14 had the highest "bug rate" per line of code 1) There was no CSECT statement 2) It was not reentrant 3) It did not clear R15 prior to exit 4) It was missing an end statement
I was told this over 40 years ago... and may not be true On Tue, 5 Sept 2023 at 13:53, Bob Bridges <robhbrid...@gmail.com> wrote: > Hey, look at that! I never knew why the famous IEFBR14 was so named; now > I guess maybe I do, though I won't be guessing after I look up the BR > instruction). > > --- > Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 > > /* The historic case against miracles...consists of calling miracles > impossible, then saying that no one but a fool believes impossibilities: > then declaring that there is no wise evidence on behalf of the miraculous. > The whole trick is done by means of leaning alternately on the > philosophical and historical objection. If we say miracles are > theoretically possible, they say, “Yes, but there is no evidence for them.” > When we take all the records of the human race and say, “Here is your > evidence,” they say, “But these people were superstitious, they believed in > impossible things.” -from "Miracles and Modern Civilisation" by G K > Chesterton */ > > -----Original Message----- > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf > Of John Dravnieks > Sent: Tuesday, September 5, 2023 04:24 > > If you are truly interested in learning System z assembler, then one > resource you could use is the late John Ehrman's book 'Assembler > Programming for IBM System z Servers' - a quick google search should find > it for you. > > The reason I am posting this is to mention some macros detailed in > Appendix B - using these macros will hide away a lot of the complexity of > z/OS I/O so you can concentrate on all the other details while you learn. > > Here is a simple 'Hello world' program using the Printlin macro from this > set: > > * > * Hello world > * > Hello csect > using hello,15 > * > PrintLin Heading,l'heading print page hdr > br 14 > heading dc Cl28'1 Hello World!' > end hello > > By default, Printlin will write the output to the SYSPRINT DD > > ---------------------------------------------------------------------- > 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