Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Errors encountered while Ececuting a procedure

Status
Not open for further replies.

synap1974

Programmer
Oct 8, 2003
4
IN
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "10.80.10.46". Communication function detecting
the error: "recv". Protocol specific error code(s): "10054", "*", "0".
SQLSTATE=08001
 
I have run that this problem comes
when we execute a particular procedure and the database goes down

the procedure has

DECLARE sql_statement VARCHAR(5000);

DECLARE rowcount_cursor CURSOR FOR v_stmt1;
DECLARE rate_filter_refcur CURSOR WITH RETURN TO CALLER FOR v_stmt;

PREPARE v_stmt FROM sql_statement;
OPEN rate_filter_refcur

is the clause 'with return to caller' is ommited it works fine but my application will fail..

what could be the problem.....

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top