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     [CASE-OPENED] ReportCaster ignores VARCHAR OFF command

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] ReportCaster ignores VARCHAR OFF command
 Login/Join
 
Platinum Member
posted
My report reads variales from an Oracle hold file. Since the WF version is 7.6x I am not able to use -READFILE. In addition, I have to use

SQL SQLORA SET ORACHAR FIX
SQL SQLORA SET VARCHAR OFF

to get rid of the string length when the alpha file is being generated from Oracle table.

The report runs fine when it's run normally. But when it's fired up in ReportCaster, the hold file contains string length, just like holding varchar data:

000007JH169 000006JH24

Here 'JH169' and 'JH24' are actual values.

Is this a known issue? Any solution? Thanks!

This message has been edited. Last edited by: <Kathryn Henning>,


7.66 and 7.704
System: Windows / AIX / Linux
Output: Mostly HTML, with some PDF, Excel and Lotus(!)
 
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005Report This Post
Gold member
posted Hide Post
Hi,
Can you provide sample code using car file.


WF 8.1.04,Infoassist,Oracle, Excel, PDF,HTML.
 
Posts: 82 | Registered: January 06, 2014Report This Post
Master
posted Hide Post
I don't know about Oracle but with a couple of other databases I use there is a way to work around this.

Lets say you have a field called DESCRIPTION that is A50V.

DEFINE FILE xyz
DESCRIPTION/A50=DESCRIPTION;
END
will give you the field without the varchar number prepended.


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Platinum Member
posted Hide Post
Car file would not make a good example as it's a FOC database and does not have VARCHAR. MSSQL varchar always return fixed length char. Only Oracle would have this issue.


7.66 and 7.704
System: Windows / AIX / Linux
Output: Mostly HTML, with some PDF, Excel and Lotus(!)
 
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by George Patton:
I don't know about Oracle but with a couple of other databases I use there is a way to work around this.

Lets say you have a field called DESCRIPTION that is A50V.

DEFINE FILE xyz
DESCRIPTION/A50=DESCRIPTION;
END
will give you the field without the varchar number prepended.



George, this is a good work-around. But the client would rather use SQL passthrough to retrieve data, and I have to insert quite a few DEFINE and rerun a TABLE FILE command on each of the hold files in a huge report.

I'll open a case and see what IBI has to say. Thanks!


7.66 and 7.704
System: Windows / AIX / Linux
Output: Mostly HTML, with some PDF, Excel and Lotus(!)
 
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 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     [CASE-OPENED] ReportCaster ignores VARCHAR OFF command

Copyright © 1996-2020 Information Builders