Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site polaris.UUCP Path: utzoo!linus!philabs!polaris!herbie From: herbie@polaris.UUCP (Herb Chong) Newsgroups: net.followup Subject: Re: Unix, Unixpeople, Usenix (really IBM Utilities) Message-ID: <283@polaris.UUCP> Date: Sat, 16-Nov-85 15:44:51 EST Article-I.D.: polaris.283 Posted: Sat Nov 16 15:44:51 1985 Date-Received: Thu, 21-Nov-85 06:27:50 EST References: <96@tekadg.UUCP> <9700101@uiucdcs> <150@mit-eddie.UUCP> Reply-To: herbie@polaris.UUCP (Herb Chong) Organization: IBM TJ Watson RC Lines: 35 Keywords: IBM, Error Messages, etc Summary: In article <216@ur-tut.UUCP> scco@ur-tut.UUCP (Sean Colbath) writes: >>The problem with IEFBR14 was that it didn't clear R15 before it returned >> bad good >> BR 14 XR 15,15 >> BR 14 > >AAAhhh, finally a discussion about a *real* operating system! (:-)... The >linkage conventions that are described above are standard linkage conventions, >but I don't see any advantage the second 'good' implementation of IEFBR14 has >over the first. I have programmed on VM (one of the major operating systems >that run on IBM's System/370 line) for several years, and the only thing that >R15 is used for is a return code, in which case you wouldn't want to have >your return call zero it out. ahhh, but you missed the point. R15 wasn't set to zero to indicate successful completion of the program. it contained the address of the routine called. a one-line assembler program had a bug. OS/JCL used that return code to determine if a previous job step had completed successfully or not. usually IEFBR14 was used to allocate files and stuff like that. a non-zero return code often meant that the step was unsuccessful, so delete the temporary files that you just created. saying more requires that i assume you know OS/JCL so i'll stop here. the design issues i'll ignore. Herb Chong... I'm still user-friendly -- I don't byte, I nybble.... VNET,BITNET,NETNORTH,EARN: HERBIE AT YKTVMH UUCP: {allegra|cbosgd|cmcl2|decvax|ihnp4|seismo}!philabs!polaris!herbie CSNET: herbie.yktvmh@ibm-sj.csnet ARPA: herbie.yktvmh.ibm-sj.csnet@csnet-relay.arpa ======================================================================== DISCLAIMER: what you just read was produced by pouring lukewarm tea for 42 seconds onto 9 people chained to 6 Ouiji boards.