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.
I have come across a bug in HOLD FORMAT EXL2K FORMULA, in release 7.7.02, when the COMPUTE involves the INT() function.
TABLE FILE CAR
PRINT SEATS AND COMPUTE
NUM1/D12.4 =RDNORM('D12.2')*2-1;
ON TABLE HOLD
END
TABLE FILE HOLD
PRINT NUM1
COMPUTE
NUM2/D12.4= IF(NUM1 GT 0)
THEN (NUM1+.05) - DMOD(( NUM1+.05),.1,'D12.2')
ELSE (NUM1-.05) + DMOD((-NUM1+.05),.1,'D12.2');
NUM3/D12.4= IF(NUM1 GT 0)
THEN INT((NUM1+.05)*10)/10
ELSE INT((NUM1-.05)*10)/10;
DIFF/D12.4=NUM2-NUM1;
BY TOTAL NUM1 NOPRINT
ON TABLE PCHOLD FORMAT EXL2K FORMULA
END
In 7.1.6, correct Excel formulae are generated:
for num1: =IF($A2>0, $A2+0.05-(MOD(($A2+0.05), 0.1)), $A2-0.05+(MOD((-$A2+0.05), 0.1))) for num2: =IF($A2>0, TRUNC((($A2+0.05)*10))/10, TRUNC((($A2-0.05)*10))/10)
But in 7.7.02, the formulas generated are:
for num1: =IF(($A2>0), ($A2+0.05)-(MOD(($A2+0.05), 0.1)), ($A2-0.05)+(MOD((-$A2+0.05), 0.1))) for num2: =IF(($A2>0), ($A2+0.05)*10/10, ($A2-0.05)*10/10)
and the values generated for num2 are incorrect. TABLE is essentially ignoring the INT(...), and treating it as simply parentheses (...), which it discards as redundant.
Has anyone else come across this?This message has been edited. Last edited by: Kerry,
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
I checked with our technicals and was suggested that, to check and/or confirm if this is an issue to be fixed, please contact Customer Support Services and open a case regarding this issue. You may either call at 1-800-736-6130, or access online at InfoResponse.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004