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     Problem with displaying the value

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Problem with displaying the value
 Login/Join
 
Gold member
posted
I have the value in the Oracle database as 29.63 but when running the query in WEBFOCUS it's appearing as 29

FIELDNAME=ECONTACT_COMP_IN_72_HRS, ALIAS=ECONTACT_COMP_IN_72_HRS, USAGE=P9.2, ACTUAL=P8,
MISSING=ON,
DESCRIPTION='E Contact Completed within 72 Hrs', $

Any ideas


Webfocus 7.6.2 on Windows Enterprise 2003 Server and
Webfocus 7.6.2 on HP Unix Server
 
Posts: 74 | Location: London | Registered: January 28, 2005Report This Post
Virtuoso
posted Hide Post
The ACTUAL format of P8 is what's causing the problem. It's going to truncate the display of the value to a whole number. Surprising it's not giving you a format error. Anyway try changing actual to P9.2 and see what you get.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
Changing the actual to P.9.2 has made no difference. The synom was generated by WebFOCUS. Any ideas


Webfocus 7.6.2 on Windows Enterprise 2003 Server and
Webfocus 7.6.2 on HP Unix Server
 
Posts: 74 | Location: London | Registered: January 28, 2005Report This Post
Virtuoso
posted Hide Post
I hope that's a typo and you did not change to P.9.2. Try changing it in the report

ECONTACT_COMP_IN_72_HRS/P9.2


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
Is it possible that the default Precision and Scale was modified after the Master was generated?

These commands do that:

ENGINE [SQLORA] SET CONVERSION RESET
ENGINE [SQLORA] SET CONVERSION format RESET
ENGINE [SQLORA] SET CONVERSION format [PRECISION precision [scale]]
ENGINE [SQLORA] SET CONVERSION format [PRECISION MAX]


This is documented in the Adapter Administration manual.


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
Master
posted Hide Post
I have fields where the FORMAT is D12.2 and the ACTUAL is D8 and have no problems


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Virtuoso
posted Hide Post
D is GREATLY different from P. (D keeps all digits internally whereas P does not.)


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Platinum Member
posted Hide Post
The D format KNOW where the decimal point is (internally it is like scientific notation). The decimal point in a P format is only implied. Every program that looks at that byte sequence needs to know where the decimal is suppose to go.


Brian Suter
VP WebFOCUS Product Development
 
Posts: 200 | Location: NYC | Registered: January 02, 2007Report This Post
Master
posted Hide Post
How is the field defined in Oracle?


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report 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     Problem with displaying the value

Copyright © 1996-2020 Information Builders