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] MySQL Text Datatype

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] MySQL Text Datatype
 Login/Join
 
Member
posted
Hi,

Does anyone have any experience dealing with TEXT or LONGTEXT data types in MySQL. I've tried everything I can think of and I cannot get the TEXT field into a HOLD file.

I'm using SQL passthru, so editing the master file is out.


This is the error:
(FOC702) THE OPTION SPECIFIED IS NOT AVAILABLE WITH TEXT FIELDS


Any ideas?

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1.05M
 
Posts: 6 | Registered: June 01, 2016Report This Post
Expert
posted Hide Post
I have some vague recollection that a text column should be the last column [in a hold file?]...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Creating Reports With WebFOCUS Language > Saving and Reusing Your Report Output > Using Text Fields in Output Files

quote:
Text fields can be propagated to HOLD and SAVE files that have the following formats: ALPHA, WP, and FOCUS or XFOCUS. However, although a Master File is generated for format ALPHA, you cannot issue a TABLE request against a HOLD file of format ALPHA that contains text fields.

--------------------------------------------------------------------------------

Reference: Rules for Text Fields in Output Files
You can include as many text fields in the file as needed. However, you must specify text fields after non-text fields in the display list (PRINT..., SUM..., and so forth).
You can specify only one text field in the display list, and no non-text fields, in a request that includes an ACROSS phrase.
The


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Thanks for the reply and information.

Is there any method of converting the text field to alpha using a DEFINE or COMPUTE?


WebFOCUS 8.1.05M
 
Posts: 6 | Registered: June 01, 2016Report This Post
Expert
posted Hide Post
Do it in the SQL:

StackOverflow: Convert mysql LONGTEXT value to VARCHAR value


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Jeff

Just following up.. Did Francis suggestion help?

Regards,


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report 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] MySQL Text Datatype

Copyright © 1996-2020 Information Builders