MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

S0C6 abend

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Temujin
Beginner


Joined: 19 Jun 2007
Posts: 13
Topics: 6

PostPosted: Mon Mar 09, 2009 2:30 am    Post subject: S0C6 abend Reply with quote

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?
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Mon Mar 09, 2009 7:13 am    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message
omswarup
Beginner


Joined: 12 Dec 2006
Posts: 6
Topics: 2
Location: Bangalore

PostPosted: Mon Mar 23, 2009 4:34 am    Post subject: Reply with quote

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 .

Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group