IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error 0C1 Reason Code 1 with branch instructions


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Hatam008

New User


Joined: 22 Dec 2020
Posts: 1
Location: United States

PostPosted: Tue Dec 22, 2020 1:57 pm
Reply with quote

Hi,
I got this system dump out in the middle of an assembly program that refers to a branch instruction (code snippet is available at the end of the post).

Here is the error :
Code:

IEA995I SYMPTOM DUMP OUTPUT  411                             
SYSTEM COMPLETION CODE=0C1  REASON CODE=00000001             
 TIME=11.33.48  SEQ=00396  CPU=0000  ASID=0026               
 PSW AT TIME OF ERROR  078D2000   00007156  ILC 2  INTC 01   
   ACTIVE LOAD MODULE           ADDRESS=00007108  OFFSET=0000
   NAME=GO                                                   
   DATA AT PSW  00007150 - 5920C18A  00000000  41400002     
   AR/GR 0: 80B933BA/FD000008   1: 00000000/0000723F         
         2: 00000000/00000010   3: 00000000/007D09D4         
         4: 00000000/007D09B0   5: 00000000/007F17F0         
         6: 00000000/007C2FE0   7: 00000000/FD000000         
         8: 00000000/007F1C18   9: 00000000/007F1060         
         A: 00000000/00000000   B: 00000000/007F17F0         
         C: 00000000/4000710E   D: 00000000/00006F60         
         E: 00000000/80FCB968   F: 00000000/00007108         
 END OF SYMPTOM DUMP           


and the code is :


Code:

            C       2,=F'0'
            BE     FIN
            ...
            ...
FIN       ...
 


Thanks for your time and consideration
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2127
Location: USA

PostPosted: Tue Dec 22, 2020 7:10 pm
Reply with quote

It shows that your original BE FIN instruction has been overridden with zeroes: X’00000000’ - somehow, before your program has reached this point.

BTW: ABEND S0C1 means “invalid instruction code”, which is X’00’ in this case.

The location pointed by PSW:
X’5920C18A’ - seems to be C 2,=F’0’
X’00000000’ - former BE FIN, now erased
X’41400002’ - seems to be LA 4,2
(if only I still remember the instruction codes...)

Check, or trace the logic of your code.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Wed Dec 23, 2020 12:51 am
Reply with quote

DO NOT assume 5920C1BA is an instruction. It may be the last 4 bytes of a 6 byte instruction
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2127
Location: USA

PostPosted: Wed Dec 23, 2020 1:53 am
Reply with quote

steve-myers wrote:
DO NOT assume 5920C1BA is an instruction. It may be the last 4 bytes of a 6 byte instruction

Based on PSW, and R12, and instruction code + operands, the probability is 99.5%
Especially if the next instruction after BE FIN is really LA 4,2 - then I’m 100% sure.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts PKZIP error ZPFM121E and ZPCE009E JCL & VSAM 6
No new posts OpenPGP Decryption job getting LRECL ... IBM Tools 7
Search our Forums:

Back to Top