IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SOC7 Error


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Sun Jul 31, 2005 9:33 am
Reply with quote

Hi Friends,
I want to find the offset where SOC7 Error occured in a lengthy program.
can any one of you send the related document with ex. of snapshots Please.
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Wed Aug 03, 2005 1:24 am
Reply with quote

If u have CEEDUMP processing then search for 'traceback' in the CEEDUMP DS and you will find something like this,
Code:
Traceback:                                     
----+---10----+---20----+---30----+---40----+---50----+---60----+---70----+---80----+---90----+--100----+--110----+--120----                               
  DSA Addr  Program Unit  PU Addr   PU Offset  Entry         E Addr    E  Offset Statement  Load Mod  Service  Status

00091018  B506          1EB2D8F0  +000274E6  B506          1EB2D8F0  +000274E6        14398  B506                     Call


Now notedown the 'PU Offset' which is '+000274E6' in our case and search for the nearest lower offset in the COMPILE LISTING after the 'HEXLOC' verb. Then you will be able to find the COBOL statement which in this case should be 'CALL' .

If you dont have the CEEDUMP processing you wud have the Abend code in the SYSOUT as
Code:
CEE3250C The system or user abend U 005 R=00000000 was issued.                 
         From compile unit B506 at entry point B506 at statement 14398 at compile unit offset +000274E6 at entry offset +000274E6 at address 1EB54DD6.
from which u can get the offset and search in the LISTING.
Back to top
View user's profile Send private message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Wed Aug 03, 2005 9:06 am
Reply with quote

Hi nadal, thanks for giving the snapshot in advance. frankly speaking i don't know about CEEDUMP can you let me know how to go, from the scratch.

actully i know that we can go to spool, from there we can goto sysout, there we get the hexadecimal address and by using that we can find the line no. then we can go to the code and solve that problem. dear friend if possible can you give the snapshot for this type.

Thanks & Regards,
Rathna.

die7nadal wrote:
If u have CEEDUMP processing then search for 'traceback' in the CEEDUMP DS and you will find something like this,
Code:
Traceback:                                     
----+---10----+---20----+---30----+---40----+---50----+---60----+---70----+---80----+---90----+--100----+--110----+--120----                               
  DSA Addr  Program Unit  PU Addr   PU Offset  Entry         E Addr    E  Offset Statement  Load Mod  Service  Status

00091018  B506          1EB2D8F0  +000274E6  B506          1EB2D8F0  +000274E6        14398  B506                     Call


Now notedown the 'PU Offset' which is '+000274E6' in our case and search for the nearest lower offset in the COMPILE LISTING after the 'HEXLOC' verb. Then you will be able to find the COBOL statement which in this case should be 'CALL' .

If you dont have the CEEDUMP processing you wud have the Abend code in the SYSOUT as
Code:
CEE3250C The system or user abend U 005 R=00000000 was issued.                 
         From compile unit B506 at entry point B506 at statement 14398 at compile unit offset +000274E6 at entry offset +000274E6 at address 1EB54DD6.
from which u can get the offset and search in the LISTING.
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Wed Aug 03, 2005 11:37 pm
Reply with quote

When TERMTHDACT(UADUMP) is set as the Runtime option you should get a CEEDUMP Dataset in SYSOUT=* unless u define a DS in CEEDUMP DD in JCL. Usually TERMTHDACT(UADUMP) is the default Installation setting in most shops. If you want to view the Runtime options give the RPTOPTS(ON) option as shown below in the JCL and to set it to TERMTHDACT(UADUMP) put
Code:
//STEP01    EXEC PGM=COBIDCAM,PARM='/TERMTHDACT(UADUMP)'

that should give u the CEEDUMP .

Code:
//ICAMS1 JOB (CRIS00M0),'DIE7NADAL',MSGCLASS=T,REGION=0K,               
//    NOTIFY=&SYSUID                                                   
//*MAIN CLASS=MISCBAT                                                 
//*WAY TO SPECIFY THE RUNTIME OPTIONS - IF U WANT TO SPECIFY MORE THAN
//*ONE RUNTIME OPTION PUT '/' ONLY FOR THE FIRST OPTION               
//STEP01    EXEC PGM=COBIDCAM,PARM='/RPTOPTS(ON)'                     
//STEPLIB  DD DSN=MNT7..PMR.LOADLIB,DISP=SHR                   
//         DD DSN=CRIST.PROD.LOADLIB,DISP=SHR     
//SYSOUT   DD SYSOUT=*
Back to top
View user's profile Send private message
palakanti

Guest





PostPosted: Mon Aug 08, 2005 11:21 am
Reply with quote

Hi Guys can any one clearly terll me how to solve the SOC7 error.
Back to top
jayesh_g

New User


Joined: 03 Mar 2004
Posts: 23

PostPosted: Tue Aug 09, 2005 10:42 pm
Reply with quote

Please let us know exactly what is it that you are not clear about. Then, we might be able to help you.

On the way to post your message, did you, by any chance, notice a sticky "Article: Resolving S0C7" at the top of this forum?

-Jayesh.
Back to top
View user's profile Send private message
Smin

New User


Joined: 11 Aug 2005
Posts: 7
Location: China

PostPosted: Thu Aug 11, 2005 9:33 pm
Reply with quote

It is DATA EXCEPTION ERROR.
maybe : MOVE value-a TO var-b
the variable var-b is not the type of value-a.
Back to top
View user's profile Send private message
sarath_ibm

New User


Joined: 03 Aug 2005
Posts: 14
Location: hyderabad

PostPosted: Thu Aug 11, 2005 10:05 pm
Reply with quote

it is dataexception error

if u give parm=list in compile program(IGYCRCTL)

u Will Get the offset address. then u can find the line number of

the program and u can correct the error.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top