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, I have a report in which i am simply printing the values in xls format.
TABLE FILE FI_SS_GOVEX_CTRY_RSK_WT
"Government Details"
PRINT
FUND_NAME AS 'Fund Name'
EFF_DT AS 'Effective Date'
REGION AS 'Region'
FUND_RSK_PCT AS 'Fund Risk %'
IDX_RSK_PCT AS 'Index Risk %'
REL_RSK_PCT AS 'Relative Risk %'
ON TABLE PCHOLD FORMAT EXL2K
There is a value in database for column Region as 'Côte DIvoire'. The problem is that this value is getting printed in the report as 'Côte DIvoire'. Can anyone suggest me the possible reason for this and how it can be handled?
Meaning we had the exact same discussion about how to handle 'Cote D'Ivoire' just a few months ago. In other words we have been on this subject before.
However if you are asking about the famous quotation it gets more interesting. Yogi Berra was a baseball team manager who was famous for mangling well-worn phrases and this was one of his best.
Now, most people nowadays don't understand what 'I had a sense of deja vu' actually means. 'Deja vu' is a feeling that you have been somewhere, or seen something, that you actually could NEVER have seen, such as arriving in a new country with the gut feeling that you have been there before and everything seems at first familiar. It's a mental trick the mind sometimes plays.
Most people (including Yogi Berra) cheapen and misuse 'deja vu' to mean that they are seeing something they HAVE seen before. But Yogi took it a step further by saying in effect: 'This is the same thing I saw before all over again'. That just sounds odd and repetitious like 'It always snows on February 1 at the beginning of the month' until you understand that 'deja vu' actually means you know on an intellectual level you have NOT seen something before, still but have that gut feeling ...
Does this help? Or are you more confused than ever? LOL
Another Berra-ism: 'It ain't over till it's over.'
There is a value in database for column Region as 'Côte DIvoire'. The problem is that this value is getting printed in the report as 'Côte DIvoire'. Can anyone suggest me the possible reason for this and how it can be handled?
Thanks in advance.
Try using the CTRAN function. I have pasted some code below that I have used and works for me. Although, my output is a little different then yours where my display is 'C"te Divoire' but the concept is the same.
DEFINE FILE CAR
VAR/A20='Côte Divoire';
END
TABLE FILE CAR
PRINT
'CAR.COMP.CAR'
'CAR.CARREC.MODEL'
'VAR'
COMPUTE NEWVAR/A20 = CTRAN(20, VAR, 147, 244, NEWVAR);
BY 'CAR.ORIGIN.COUNTRY'
ON TABLE PCHOLD FORMAT EXL2K
END
In the CTRAN function, 147 is the ASCII value for ". Because you get the à character you should change 147 to 195 and try that. An example below.
COMPUTE NEWVAR/A20 = CTRAN(20, VAR, 195, 244, NEWVAR);
Hope this helps.
Dave
WebFOCUS 7.7.03 Windows Web Server 2008 MS SQL Server 2000 Excel,CSV,PDF,HTML
Posts: 71 | Location: Kingston, ON | Registered: May 03, 2011