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.
Hi, even though I am using SET CDN = ON my csv Output (shown in Texteditor, so no Excel Transformation Problem) does show the '.' in my decimal Fields. I have no toher Idea to Change that.
My Metadata is out f SQL Path Through....This message has been edited. Last edited by: FP Mod Chuck,
I can see your problem as well. It looks like when I have CDN=ON, if I run the report on my screen it shows , for decimal point. But if I hold it, I still see a dot.
You should probably reach out to IB Tech support to find out if they have a work around or a suggestion on how to handle that.
Just wondering what your system separators in Excel's Options/Advanced are set to. I believe if you set them to the European style, you'll get what you want.This message has been edited. Last edited by: BabakNYC,
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
You could use an intermediate TABLE FILE request from the SQLOUT results where you can add the desired formats to the appropriate files and HOLD that result to XLSX. That should work for you.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Then in Excel click File, Options, Advanced. Look for Use System Separators. If you unchcek that box you can pick Decimal Separator and Thousands Separator.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
I suspect your problem is related to the SQL client that you're using; in this case that is IBI's MS SQL adapter.
It wouldn't surprise me if the defaults for those were derived from Windows's Region and Language settings (or NLS settings on most other OS's) of your WFRS machine. Perhaps that is set to use dot for decimals and comma for thousands separator?
And then the WFRS software has a set of NLS settings as well, but I think that's limited to code-pages, but it can't hurt to look.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Thanks @BabakNYC, but that' to compicated, there Need to be a drect way. Plus I don't want it to open in Excel. In Editor for example it's also wrong and there are no worarounds to replace the . zu ,
Hi Jenni, I took simple Car file , below is the Webfocus code
TABLE FILE CAR
SUM
SALES/D12.2 AS AB
BY COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE HOLD AS A
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
ENDSTYLE
END
-*SET CDN = ON
TABLE FILE A
PRINT
-* CONVERTING NUMERIC VALUES IN ALPHANUMERIC TO STORE , IN CSV FOR DECIMAL
COMPUTE SALE_ALPHA/A15=FTOA(AB,'(D12.2)',SALE_ALPHA); NOPRINT
-*REMOVING COMMA AS D12.2 ADDS THOUSAND SEPERATOR
COMPUTE SALE_NOCOMMAS/A14=STRREP(15,SALE_ALPHA,1,',',0,'X',14,SALE_NOCOMMAS); NOPRINT
-*CONVERTING DOT INTO COMMA
COMPUTE DOT_TO_COMM/A17=STRREP(14,SALE_NOCOMMAS,1,'.',1,', ',17,DOT_TO_COMM);
BY COUNTRY
ON TABLE HOLD AS BASEAPP/A FORMAT COMT
END