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 

DB2 Call Level Interface error

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


Joined: 04 Feb 2003
Posts: 113
Topics: 37

PostPosted: Tue Jul 22, 2003 8:36 am    Post subject: DB2 Call Level Interface error Reply with quote

Hi ,
I'm getting the following error when running a COBOL-DB2 program.
I'm not able to understand the reason for this. Can anybody help me
out..?
Code:

"Error messages seen in job log:                                      +IDI0082E DB2 Call Level Interface error: SQL return code -1 for SQLAllocConnect to DB2 system DSFP   
A system abend 04E occurred in an undetermined module.                         
A DB2 reason code X'00E70007' is associated with this abend and indicates that:
A bad application-supplied address was encountered while trying to copy SQLCA back to the application program.                                             
SQLCA information: SQLCODE = -804, SQLSTATE = 07002    Explanation for -804:  The call parameter list or the SQLDA is invalid.
Sysout directed to SYSOUT = V"

_________________
Regds,
Somu
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Tue Jul 22, 2003 10:25 am    Post subject: Reply with quote

Somu,

check if there is any internal table defined in the working storage of the program just before where sqlca is defined.

There is a likely chance that the internal table over flowed and corrupted the contents of sqlca.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
somuk
Beginner


Joined: 04 Feb 2003
Posts: 113
Topics: 37

PostPosted: Tue Jul 22, 2003 11:01 pm    Post subject: Reply with quote

Kolusu,
Yes..There is an internal table defined just above the SQLCA definition. I'm going to increase the size of the table and will test it..
Thanks for your timely and valuable suggestion.
_________________
Regds,
Somu
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database 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