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'm trying to create an oracle table with varchar2 and I can't get it done.
As an example I created a small simiulation with the CAR DB:
-SET &ECHO = 'ALL';
-SET &ORACLE_DB = 'DB01';
-SET &ORACLE_TABLE = 'CAR05';
-SET &ORACLE_USER = 'USR01';
ENGINE SQLORA SET DEFAULT_CONNECTION &ORACLE_DB
-*ENGINE SQLORA SET ORACHAR VAR
-RUN
TABLE FILE CAR
PRINT DEALER_COST
BY COUNTRY
ON TABLE HOLD AS &ORACLE_USER.EVAL.&ORACLE_TABLE.EVAL FORMAT SQLORA
ON TABLE SET ASNAMES ON
END
-RUN
But the Country still is a field with type CHAR (length 10) and just filling the the rest with spaces.
'JAPAN' is not 5 characters long but 'JAPAN ' 10 characters (because of the 5 spaces at the end).
Many thanks for your help.
WF8.0.0.7 - Oracle 11.2 UTF8This message has been edited. Last edited by: <Kathryn Henning>,
WebFOCUS 8.1.0.5 (Server + Client) Windows 2012 R2 BW, Oracle, Excel, PDF, HTML
Thank you Tamra for the link. I've found this information already and as you can see I have it in the first post mentioned (uncommented).
Id did different tests but it's always creating "CHAR" Types in the Oracle DB.
As a workaround I crate it with CHAR, change it than in the DB and in the master file to VARCHAR2 (and A*V) but I guess it should be possible without this workaround.
How would the above mentioned example with the CAR DB look like?
Many thanks for your help.
Best regards
WebFOCUS 8.1.0.5 (Server + Client) Windows 2012 R2 BW, Oracle, Excel, PDF, HTML
You can tell the Oracle connector how you want to "map" WebFOCUS formats to the RDBMS formats.
I know you can do it when you create WebFOCUS synonyms from the RDBMS. There is probably a way to do it vice-versa. Try researching that on the oracle connector.