If you think you took a wild branch, find the RTM2WA and then towards the end of it find a field marked BEA, this is the address of the last branch instruction.
Chris Blaicher Principal Software Engineer, Software Development Syncsort Incorporated 50 Tice Boulevard, Woodcliff Lake, NJ 07677 P: 201-930-8260 | M: 512-627-3803 E: [email protected] -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Robin Atwood Sent: Wednesday, May 22, 2013 6:20 AM To: [email protected] Subject: Mysterious Abend 0C1 Here is a puzzle. The program has taken an 0C1 half-way through an instruction. It cannot have got there via the normal instruction sequence, so it must have been branched to. However, none of the registers have a value less than or equal to the PSW. This is compiled C code so no PC/PR instructions are involved, AFAIK. How could the PSW get to be where it is? Absolute address X'A9E' is all zeros so we didn't go there. Using ASXB519 TCB: 007CC950 Abend Code: 0C1000 ILC: 00 Int: 04 PSW: 000180E100008000 Csect EP: R0 R1 R2 R3 R4 R5 R6 R7 7FFFF000 00000000 00000000 00000000 00FD6D40 00000000 00000000 000A0000 R8 R9 R10 R11 R12 R13 R14 R15 000140E1 000A0000 000150E1 000A0000 000160E1 000A0000 000170E1 000A0000 00007FF6 00000016 92D5 7055 MVI 85(7),X'D5' 00007FFA 0000001A 91FF 7056 TM 86(7),X'FF' 00007FFE 0000001E 4770 5A9E BC 7,2718(0,5) 00008002 00000022 92D5 7056 MVI 86(7),X'D5' 00008006 00000026 41A0 61C8 LA 10,456(0,6) Cheers -Robin ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ATTENTION: ----- The information contained in this message (including any files transmitted with this message) may contain proprietary, trade secret or other confidential and/or legally privileged information. Any pricing information contained in this message or in any files transmitted with this message is always confidential and cannot be shared with any third parties without prior written approval from Syncsort. This message is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any use, disclosure, copying or distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or Syncsort and destroy all copies of this message in your possession, custody or control. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
