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.
>Experience (and >http://www->01.ibm.com/support/knowledgecenter/SSGMCP_4.1.0/com.ibm.cics.ts.resourcedefinition.doc/macros/srt/system.html?cp=SSGMCP_4.1.0%>2F12-9-1-3-8-1) > make it clear that system ABEND codes are hex and user codes are decimal. >Why? Or is this lost in the mists of time? It's not like >OS/360 end-users >were going to understand U1234 better than U4D2! ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
