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

Resolve SOC7 in Eazytrive


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Sun Dec 28, 2008 3:58 pm
Reply with quote

Hi Team,

I have following issue in my Eazytrive program.

1)I am getting SOC7 abend in Eazytrive program but i am not getting SYSDUMP(To find which statement or address in program caused abend)
in Job SPOOL.
Can anyone please let me know how to get address register of abended statement in eazytrive program or SYSDUMP in JOb Spool.?

2)I have added DEBUG statement in PARM ,still i am not getting abended statement.
Am i missing anything in program?
Please help me on this to resolve SOC7 abend

Thanks
Jagadesh
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Dec 29, 2008 2:53 am
Reply with quote

Hello,

Which release of Easytrieve are you using?

Quote:
I have added DEBUG statement in PARM ,still i am not getting abended statement.
How did you do this? It will probably help if you post the PARM you are using for this run.

Is this a new program or did it sudenly abend after being in use for some time?

How confident are you that the file layout is correct? Can the data be trusted or is this data from some external source and may possibly contain invalid values?
Back to top
View user's profile Send private message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Mon Dec 29, 2008 10:20 am
Reply with quote

Hi Dick,

Thanks

1) Which release of Easytrieve are you using?
CA-EASYTRIEVE PLUS-6.4

2)How did you do this? It will probably help if you post the PARM you are using for this run.

PARM SSID('ID') DEBUG (STATE FLOW)
3)Is this a new program or did it sudenly abend after being in use for some time?
Its existng program but modified for some requirement

I agree that we included some layout change and invalid data came.

But my query is why i am not getting SYSDUMP in Job Spool or offset value of abended statement? is there any option to get that?


Thanks
Jagadesh
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Dec 29, 2008 10:55 am
Reply with quote

Hello,

From the 6.4 manual:
Quote:
STATE saves the statement number of the statement currently being executed. The statement number is then printed in the associated abnormal termination messages.
The statement number should be in the output. From the example in the same manual:
Quote:
If the STATE or FLOW options were active, the error analysis report contains the
statement number (27) in the message.
27 *******A006 PROGRAM INTERRUPT - CODE 7 (DATA EXCP)
27 is not your statement, but the one from the example.

Quote:
why i am not getting SYSDUMP in Job Spool or offset value of abended statement? is there any option to get that?
If your system has abendaid or something similar installed, additional diagnostic info would be created.

If you use the CLIST option of DEBUG, you may get additonal info that will help.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Dec 30, 2008 12:35 am
Reply with quote

You've mentioned SYSDUMP a couple of times. Did you really mean SYSUDUMP?
Back to top
View user's profile Send private message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Tue Dec 30, 2008 11:27 am
Reply with quote

Hi All,
I am sorry i mentioned wrongly SYSDUMP instead of SYSUDUMP.
Thanks Terry.

I am not getting anything in Abended Job.(geting only SYSPRINT) not getting SYSUDUMP.
So its difficult to find abended statement without Offset or address location of abended statement.

But finally using display statement only i have identified that some junk value moved to some variable.But took me lot of time.
Thanks a lot for all of you particpated.

Thanks
Jagadesh
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Dec 30, 2008 11:46 pm
Reply with quote

Hello,

Quote:
So its difficult to find abended statement
As i mentioned earlier - the abended statememt is presented by Easytrieve. Keep in mind that this is not COBOL and errors are not shown exactly the same way.

You will waste lots and lots of time until you become familiar with what is available in the environment you are working in (rather than some other environment).

There is also a way to find the offset using Easytrieve - it is just done differently than COBOL. It may be helpful as a learning process to use your already solved abend to understand other features available for determining the problem statement/data.

Good to hear it is working - thank you for letting us know icon_smile.gif
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Need help to resolve a hard edit COBOL Programming 8
This topic is locked: you cannot edit posts or make replies. Need help to resolve a hard edit COBOL Programming 4
No new posts SOC7 error with DFSORT DFSORT/ICETOOL 9
No new posts How to Parameterize Eazytrive program All Other Mainframe Topics 2
No new posts How to resolve SYNCH15! & SYNCH16... Compuware & Other Tools 0
Search our Forums:

Back to Top