Posted: Mon Mar 09, 2009 2:30 am Post subject: S0C6 abend
Hi,
I am encountering a S0C6 abend, I couldn't find any topics related to this abend in the forums, so I am posting this question, please answer me if anybody knows whats happening.
Description:
I have a program 'A', this program is calling another program 'B'. There is a common file being shared between the two programs using 'EXTERNAL' functionality.
For the first time when A called B, everything went fine. B got executed and the control came back to A, then in the second loop when A tried to call B, the job abended giving me S0C6 abend. I tried checking the file status thinking that there may be a problem with the file operations, but the file status shown is zero.
I am using a copy book to send and receive data between the two programs. So I think there should not be any problem with the length of the data being moved between the two programs.
Is there any other possible chance why this is happening?
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
Posted: Mon Mar 09, 2009 7:13 am Post subject:
Click HERE to get some information regarding S0C6 _________________ If it's true that we are here to help others,
then what exactly are the others here for ?
Joined: 12 Dec 2006 Posts: 6 Topics: 2 Location: Bangalore
Posted: Mon Mar 23, 2009 4:34 am Post subject:
Temujin,
Here is the reasons one could get a S0C6 for
1) A data, instruction, or control-word address does not
specify the proper storage boundary alignment.
2) An instruction specifies an odd register number when it
should specify the even numbered register of an even-
odd register pair.
3) A floating point register other than 0, 2, 4, or 6 was
specified in a floating point instruction.
4) The multiplier or divisor in a decimal (packed)
arithmetic instruction exceeds 15 digits and sign.
5) The first operand field is shorter than or equal to
the second operand field in a decimal (packed)
multiplication or division instruction.
6) The block address in a SET STORAGE KEY or INSERT
STORAGE KEY instruction has the four low-order bits
not all zero.
7) A PSW with a non-zero protection key was encountered
when protection was not installed.
If you are using Expeditor or intertest, you could run the codes thru that so that you get to know where its getting the problem, in intertest you canb check the files status where ever you want .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum