Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] FOC1406 - SQL Open cursor error when using a BLOB field

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] FOC1406 - SQL Open cursor error when using a BLOB field
 Login/Join
 
Platinum Member
posted
Hi,
I have a master file created for a table which has an image column(Data type : BLOB).
When I try to see the sample data for the master file i get the below error.
If I sample data for other columns it works good.The same happens in the procedure as well.

Error :

(FOC1400) SQLCODE IS -1 (HEX: FFFFFFFF)
L (FOC1406) SQL OPEN CURSOR ERROR. : PHR_PPAK_CONTACTS

Please help me out.

WF 8105M
Windows 10

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 181 | Registered: October 25, 2017Report This Post
Virtuoso
posted Hide Post
When you edit the master file, can you successfully get sample data from this column?

Run the request with SQL Trace and see if the same SQL works if you run it outside of WebFOCUS.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
When I remove the column from my table request the the procedure works.
This error occurs whenever i use the column having the image.
 
Posts: 181 | Registered: October 25, 2017Report This Post
Master
posted Hide Post
An example of a BLOB/Image w/ MS SQL Server:
http://forums.informationbuild...387073686#2387073686
An example of a BLOB/PDF w/ MS SQL Server:
https://www.informationbuilder...ocus-web-application

This message has been edited. Last edited by: David Briars,




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Master
posted Hide Post
Can you share your code on the table request?

More info here:
Syntax: How to Add an Image From a BLOB Field


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] FOC1406 - SQL Open cursor error when using a BLOB field

Copyright © 1996-2020 Information Builders