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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Power Builder - Fetch data from Store Procedure is limited

Status
Not open for further replies.

KenNguyen

Programmer
Nov 4, 2013
1
Hi all Power Builder guru, can you help me to solve this problem ?
I have an application written by Power Builder. In this application, I execute a store procedure that returns a large xml file.
I fetched it into string, the result is huge (about 80000 characters) xml content, but I only get 32677 characters.
Here is my code:

CONNECT USING SQLCA;
EXECUTE myproc;
IF SQLCA.sqlcode = 0 THEN
FETCH myproc INTO :xml;
CLOSE myproc;
ELSE
IF SQLCA.sqlcode = -1 then
MessageBox("Stored Procedure Error!", SQLCA.sqlerrtext)
END IF
END IF
DISCONNECT USING SQLCA;
return xml

Can i do configuration somewhere to let Power Builder support large data content ?
 

What is you xml Variable and/or your Procedure parameter declaration [DataType/Size]?



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top