MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

S0C7 in eztreive

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
infoman123
Beginner


Joined: 02 Nov 2004
Posts: 57
Topics: 20

PostPosted: Tue Oct 30, 2007 6:16 am    Post subject: S0C7 in eztreive Reply with quote

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
View user's profile Send private message
vivek1983
Intermediate


Joined: 20 Apr 2006
Posts: 222
Topics: 24

PostPosted: Tue Oct 30, 2007 6:24 am    Post subject: Reply with quote

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
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Tue Oct 30, 2007 6:32 am    Post subject: Reply with quote

infoman123

You have to post your EZT code. The S0C7 error occurred in line # 12 in the code.
Back to top
View user's profile Send private message Send e-mail
infoman123
Beginner


Joined: 02 Nov 2004
Posts: 57
Topics: 20

PostPosted: Tue Oct 30, 2007 6:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group