Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
HOW to handle S0C7, S0Cb Abends

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
simha520

New User


Joined: 28 Mar 2007
Posts: 2
Location: hyderabad

PostPosted: Tue Jun 12, 2007 1:05 pm    Post subject: HOW to handle S0C7, S0Cb Abends
Reply with quote

HOW to handle these (soc7, socb) abends. can you guide me
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Tue Jun 12, 2007 1:38 pm    Post subject:
Reply with quote

Verify that the data is valid packed numeric data before trying to mathematically manipulate it.
http://ibmmainframes.com/references/a29.html
Back to top
View user's profile Send private message
kavisuresh

New User


Joined: 22 May 2007
Posts: 7
Location: chennai

PostPosted: Tue Jun 12, 2007 3:04 pm    Post subject: Re: SOC 7,SOCB
Reply with quote

S0C7 might be due to the below three reasons along with the user
action,

1)Description: A S0C7 FORCED FOR REASONS OTHER THAN DATA EXCEPTIONS, SUCH AS AN INVALID CONTROL CARD OR A FLAG NOT SET CORRECTLY ON THE REGISTER CONTROL FILE.
User Action: CHECK THE DISPLAY MESSAGES FOR THE ABENDING
STEP FOR ADDITIONAL INFORMATION.

2)Description: -READ IN A SIGNED COMP-3 FIELD INTO AN UNSIGNED
COMP-3 FIELD.
User Action: SIGN THE RECEIVING FIELD AND RECOMPILE.

3)Description: MOVING ZERO TO A TABLE 01-LEVEL THAT HAD COMP-3
FIELDS UNDER IT. THIS FILLED THE TABLE WITH X'F0'
User Action:
1. MOVE ZEROS TO THE ELEMENTARY TABLE FIELDS OR
2. USE INITIALIZE AT GROUP LEVEL (COBOL II)

S0CB might be due to the below reason along with User Action,

Description: This ABEND is caused by a decimal divide exception. A
quotient exceeds the specified data field size.
User Action: Dividing by zero is the most common cause of this ABEND.
Correct the program logic error that caused the divide
exception and resubmit the job.

Regards,
Kavisuresh
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jun 12, 2007 5:51 pm    Post subject:
Reply with quote

Hello,

Very often, an s0cb is caused due to a divide by zero.

Is there something in your situation that is related to DB2? If not, your topic can be moved to a more appropriate category.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts How to handle AISS abend ? robin ma 2015 CICS 1 Mon Nov 09, 2015 1:47 pm
No new posts IEFZB476 getting various 0C4 abends Grant Goodale PL/I & Assembler 18 Sat Sep 12, 2015 9:27 pm
No new posts possible to write synad to only handl... Lynne Schuler Testing & Performance analysis 3 Sat Apr 11, 2015 10:55 pm
No new posts S0C7 abend not able to locate Rijit COBOL Programming 8 Wed Apr 01, 2015 4:03 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us