Geeks Talk

Prepare for your Next Interview




solve soc 7 error

This is a discussion on solve soc 7 error within the MainFrame forums, part of the Software Development category; how to solve soc 07 error.....


Go Back   Geeks Talk > Software Development > MainFrame

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-12-2008
Junior Member
 
Join Date: May 2008
Location: BANGOLORE
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
kiran.mf543 is on a distinguished road
solve soc 7 error

how to solve soc 07 error..
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-19-2008
Junior Member
 
Join Date: May 2008
Location: Aurora, ON
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
pkganapathi is on a distinguished road
Re: solve soc 7 error

Kiran,
There are a few techniques. I am assuming you have a CEEDUMP or an ABEND-AID report which shows which line your program failed with an 0C7.

0C7 is when you move an alpha character to a numeric field.

One way to solve is do a NUMERIC check before the MOVE statement.

Thanks,
-PK

Quote:
Originally Posted by kiran.mf543 View Post
how to solve soc 07 error..
Reply With Quote
  #3 (permalink)  
Old 05-20-2008
Junior Member
 
Join Date: May 2008
Location: Chennai
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
logeswaran is on a distinguished road
Re: solve soc 7 error

Kiran,

In ABEND-AID it's having displacement of which field is giving the S0C7 abend.You copy the displacement from the ABEND-AID,after that find the displacement in compiled program SYSUT2.Then you will get the field name and initialize the field properly.Some times the displacement will come in between the range.At that time we can't able to find out the field name.So you can use the displacement in paragraphs.

Thank's
Loges
Reply With Quote
  #4 (permalink)  
Old 3 Weeks Ago
Junior Member
 
Join Date: Jun 2008
Location: Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Nishant jain is on a distinguished road
Re: solve soc 7 error

Kiran,

I guess the smarter way is to use xpeditor . Compile the program in xpeditor and then excute by pressing F12. cursor will stop in the line excatly where the Soc-7 is(particular line where the problem is). And the only thing remain is just cross verify that statement(may be move commands) and alter as per requirment and compile link.

Let me know in case of any concern.

Regards
Reply With Quote
  #5 (permalink)  
Old 1 Week Ago
Junior Member
 
Join Date: Jun 2008
Location: Chennai
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
veenars is on a distinguished road
Re: solve soc 7 error

soc7 abend happens when u r with datatype mismatch.ie,u may b trying 2 move a numeric value into a datatype declared as floating.this is just an example i said.just try whether there is any data type mismatch
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Software Development > MainFrame


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Report Net on XP gives error, Cryptographic error has occured chandrabhoopathy1 Data Warehousing 0 05-24-2007 06:07 PM
solve this arunjanghu Brainteasers 6 01-15-2007 08:53 AM
can u solve it arunjanghu Brainteasers 7 01-13-2007 03:16 AM
Can you Solve sripri Brainteasers 7 01-04-2007 06:20 AM
Can you solve this...? psuresh1982 Brainteasers 2 11-07-2006 01:47 AM


All times are GMT -4. The time now is 07:06 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved