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.
When trying to create a synonym for an oracle table that contains this datatype:
TIMESTAMP(3) WITH LOCAL TIMEZONE
The process fails. After much troubleshooting, we discovered that if I create the table without the timestamp columns, the synonym creation works fine.
It gives a FOC1400 and FOC1405 error.
Anyone had this issue before?
Thanks, --wgThis message has been edited. Last edited by: Kerry,
WF 8009m, Clustered vm Windows2008r2 reporting servers; Web interface: tomcat; Output: EXCEL, HTML, PDF; dbms: Oracle 10, db2 on mvs, mssql
Posts: 81 | Location: Monroe LA | Registered: January 07, 2005
Manual "Adapter Administration for UNIX, Windows, OpenVMS, i5/OS, and z/OS, Version 7 Release 6.8" (DN4500931.1208) states that TIMESTAMP WITH LOCAL TIME ZONE is supported. I would open a case with Tech Support.
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
We appear to be running into the same issue with the results of a prepared statement containing a TIMESTAMP(0) WITH LOCAL TIME ZONE field:
SQL SQLORA PREPARE SQLSTMT FOR
SELECT CAST(current_timestamp AS TIMESTAMP(0) WITH LOCAL TIME ZONE) AS logdate FROM dual
;
END
?FF SQLSTMT
(FOC1400) SQLCODE IS -1 (HEX: FFFFFFFF)
L (FOC1405) SQL PREPARE ERROR.
(FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: SQLSTMT
NO DATA FILE IS CURRENTLY ACTIVE
Of course the query runs just fine from Oracle SQL Developer:
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 :
If you really only need the date-part of the timestamp anyway, you can convert the value in the SQL query:
SQL SQLORA PREPARE SQLSTMT FOR
WITH tmp AS (
SELECT CAST(current_timestamp AS TIMESTAMP(0) WITH LOCAL TIME ZONE) AS aDate
FROM dual
)
SELECT
to_char(aDate, 'YYYY-MM-DD') AS date1,
trunc(aDate) AS date2
FROM tmp
;
END
?FF SQLSTMT
Which results in:
FILENAME= SQLSTMT
DATE1 E01 A10V
DATE2 E02 HYYMDS
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 :