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     Temp data from SQL Passthrough

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Temp data from SQL Passthrough
 Login/Join
 
Platinum Member
posted
One of our developers at our site is encountering a problem with the format of numerical data returned from SQL passthrough. Two columns are defined as numeric in Oracle. One is 15,4 - the other is 13,4. However, in the temp file, the master identifies the columns as D20.2.

This is causing problems on the user front.

Is there a setting somewhere that we're missing?

Ken


Prod - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Dev - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Databases: Oracle 10g, SQL Server 2000, DB2.
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
Guru
posted Hide Post
Ken,
I ran into this problem too. I was able to get around it by changing some setting in the WF Server. I made the following changes in the edasprof.prf file:

ENGINE SQLORA SET CONVERSION FLOAT PRECISION 20 7
ENGINE SQLORA SET CONVERSION DECIMAL PRECISION 20 7

What this will do is turn all Oracle Numbers that don't have a defined size to D20.7 or P20.7.

I think in WF 5.3.x if you click on the Data Adapter you can make these changes to a specific adapter.

Also when doing a SQL-passthrough you don't use the .mas file.

This message has been edited. Last edited by: reFOCUSing,
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Platinum Member
posted Hide Post
Thanks C.

Worked out great.

Ken


Prod - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Dev - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Databases: Oracle 10g, SQL Server 2000, DB2.
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
Guru
posted Hide Post
No problem. Just be careful if you are doing calculations in the pass-through as WebFOCUS will convert those values as if they are an Oracle Number. This will result in a D20.7 or P20.7 based on the example I gave you.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report 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     Temp data from SQL Passthrough

Copyright © 1996-2020 Information Builders