View previous topic :: View next topic |
Author |
Message |
infoman123 Beginner
Joined: 02 Nov 2004 Posts: 57 Topics: 20
|
Posted: Tue Oct 30, 2007 6:16 am Post subject: S0C7 in eztreive |
|
|
Hi All,
I have got a problem today which is really confusing me.
we have an ezytriev program(compiled one). I can see a some parms inside ezytriev compiled listing as PARM LINK(TESTEZY R) DEBUG(XREF SHORT STATE FLOW FLOWSIZ 2000)
I assume that these are the compilation parms used for this pgm. As per my understanding DEBUG FLOW will give the abended line number with abend code like "12 *******A006 PROGRAM INTERRUPT - CODE 7 (DATA EXCP)".
But the program didnt give any useful info on the abend like the line it abended, the abend code etc. From the JESMSGLG i understood that its S0C7.
Any idea why the program behaved like this.
I was able to crack the problem by putting display statements but easytrieve used to give me the abended line and code.
Similarly one morething i noticed was while putting display i had given display as below
DISPLAY 'INPUT NUMBER = ' WS-INPUT-NUM
DISPLAY 'DISPLAY BEFORE PARA'
When i ran the job, the job abended with S0C7 and the display was as below
'INPUT NUMBER = ' 1234
It didnt displayed the 'DISPLAY BEFORE PARA'
Could anyone tell me what is the real issue.
Thanks |
|
Back to top |
|
|
vivek1983 Intermediate
Joined: 20 Apr 2006 Posts: 222 Topics: 24
|
Posted: Tue Oct 30, 2007 6:24 am Post subject: |
|
|
infoman123,
Quote: |
I was able to crack the problem by putting display statements but easytrieve used to give me the abended line and code.
|
Did you find the problem? If yes, what was the problem? Could u let us know what you were trying to accomplish? Also if u cud post the EZT it would help us to resolve the irregular behaviour of the EZT. _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay) |
|
Back to top |
|
|
vkphani Intermediate
Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Tue Oct 30, 2007 6:32 am Post subject: |
|
|
infoman123
You have to post your EZT code. The S0C7 error occurred in line # 12 in the code. |
|
Back to top |
|
|
infoman123 Beginner
Joined: 02 Nov 2004 Posts: 57 Topics: 20
|
Posted: Tue Oct 30, 2007 6:50 am Post subject: |
|
|
Hi,
"12 *******A006 PROGRAM INTERRUPT - CODE 7 (DATA EXCP)". is not my problem, if it was this then its easy as far as my understanding easy trieve will give this but my issue is why it didnt give an abend like that.
I solved the problem by putting displays in each paragraph and corenered the problematic area.
Regards |
|
Back to top |
|
|
|
|