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.
The last time I used Focus on a mainframe we didn't have EXL2K as an output format so I'm sorry I can't help you. Hopefully someone with current mainframe experience will come forward.
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
I'm not sure that I understand the issue completely. But if you're looking for the following RESULTS:
COUNTRY SALESCST SALESINT SALESMOD SALESVAL
ENGLAND .24435009 0 24435009 0,24
FRANCE 6.95478276 6 95478275 6,95
ITALY 2.33567987 2 33567986 2,33
JAPAN 7.37364145 7 37364144 7,37
W GERMANY 9.76414075 9 76414075 9,76
... then perhaps, in the mean time you can consider the following CODE which basically concatenates the INT and the MOD of your P20.8 value (thru some funky code):
TABLE FILE CAR
SUM
COMPUTE SALESCST/D20.8 = IF COUNTRY EQ 'ENGLAND' THEN .24435009 ELSE 10*RDUNIF('D6.4') ;
COMPUTE SALESINT/I1 = INT(SALESCST);
COMPUTE SALESMOD/I8 = ((SALESCST) * 100000000) - (SALESINT * 100000000);
COMPUTE SALESVAL/A24 = EDIT(SALESINT)||','||EDIT(EDIT(SALESMOD),'99');
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
END
DISCLAIMER: This is nothing great. But, if I understand the desireed result, then it'll get the job done.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I have already thought your solution to concatenate the integer and decimal part. This could solve the problem but it is quit annoying for the client to have a numeric field in a text cell. Furthermore, I have a lot of numeric fileds in the report that could be less then 1 and I should write more code...
Has someone saved excel file as "FORMAT EXL2K" in a Mainframe environment? Did you have the same problem that I have?This message has been edited. Last edited by: ac1,
I think that it's a bit annoying as well. But, like I said "It'll get the job done". I normally comment code like this as needing to be redacted and come back to it when time permits. And pass it on as a New Feature Request when possible.
Just for clarification: Your client wants something like ".24435009" to be displayed as "0,24" (zero comma two four) not "0.24"?
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005