Good thought, although the confusion is still possible for, say S122 versus U122. Of the 4095 possible system ABEND codes, just under a quarter are valid decimal numbers also.
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Roberts, John J Sent: Tuesday, November 04, 2014 2:22 PM To: [email protected] Subject: Re: System vs. user ABEND codes I suspect that one of the original OS/360 developers decided that U0C7 could easily be confused with S0C7. So they adopted the convention of documenting and displaying User Abend Codes in decimal vs Hex for System Abends. They are both unsigned 12 bit numbers, 0 to 4095 in decimal of 000 to FFF in hex. IIRC, the code is loaded into GPR1 before the SVC 13 is made. If a user abend, the value is in the lower 12 bits. If a system abend, shifted over 12 bits. I think the high order 8 bits is used for dump options. GPR15 is for the reason code. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
