The program is one of our products has been running at numerous installations 
for years. One client is really hammering the product and finding various 
exposure windows. This is the first occurrence of this error.

All the registers are much greater than the PSW and you cannot have negative 
displacements, so how did we get to that point in the code?

Thanks
-Robin

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Elardus Engelbrecht
Sent: 22 May 2013 19:36
To: [email protected]
Subject: Re: Mysterious Abend 0C1

Robin Atwood wrote:

>Here is a puzzle. The program has taken an 0C1 half-way through an instruction.

What z/OS and C compiler releases are you using? Did that program worked 
correctly in the past? With the same set of input? Did you recompiled it and it 
then gave that instruction exception? Can you retry the program with a known 
correct input?

Where and in what module is that abend happening? Do you see any other 
message(s) in SYSLOG for example?

>How could the PSW get to be where it is? 

It could be the address is calculated during execution, perhaps on a set of 
input?

Or that instruction was overlaid somehow and you ended up in that address.

I would suggest that you put in instruction trace or put in diagnostic messages 
throughout the program so you can trace the execution flow.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to