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

Stored procedure returning SQLSTATE=56072


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Anney

New User


Joined: 06 Jan 2007
Posts: 7
Location: Chennai

PostPosted: Fri Nov 16, 2007 3:53 pm
Reply with quote

Hi,

Am executing a DB2 Stored procedure from ASP. Getting this error.

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[IBM][CLI Driver][DB2] SQL30005N Execution failed because function not supported by the server: location "" product ID "" reason code "". SQLSTATE=56072

Can any one guide me how to resolve this?

Thanks.
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: Sun Nov 18, 2007 4:06 am
Reply with quote

Hello,

Do you have anything working from that win-based system to db2 or is this the first attempt?

With no more to go on, it sounds like there is a problem in the data source definition. Once you define the data source, are you able to successfully test the connection?

If you have not already done so, i'd suggest talking with the dba(s) and the network support people from both ends to track down the problem(s).
Back to top
View user's profile Send private message
Anney

New User


Joined: 06 Jan 2007
Posts: 7
Location: Chennai

PostPosted: Fri Nov 23, 2007 9:28 am
Reply with quote

Thanks Dick.

Seems like the stored procedure consumed more CPU service units than the ASUTIME value allows. DB2 might have cancelled the procedure.

ASUTIME was increased to resolve this.
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: Sat Nov 24, 2007 9:03 am
Reply with quote

You're welcome.

Thank you for posting your solution - it may help another person later 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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Invoke stored procedure via batch JCL. DB2 2
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts Cond parameter and Rc code of a proce... JCL & VSAM 5
This topic is locked: you cannot edit posts or make replies. Internal Autonomous Stored Procedure ... DB2 6
No new posts Stored procedure cpu utilization DB2 1
Search our Forums:

Back to Top