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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
I have a variable &myDate in A19V format that stored a date time value such as: "2015/10/29 07:00:00".
If using a DBMS SQL flow for Oracle database, I can read and format the variable like this: SELECT .... FROM .... WHERE TIME_MODIFIED <= TO_DATE ['&myDate', 'YYYY/MM/DD HH24:MI:SS')
Using a regular data flow, I cannot use the function TO_DATE to format the variable. What function should I use in iWay dataflow to format the '&myDate' variable from A19V to datetime format HYYMDS?
Thanks for your suggestion.This message has been edited. Last edited by: Tamra,
I receive the following when running: (FOC14067) STATEMENT CONTAINS UNKNOWN SCALAR FUNCTION 'to_timestamp' ON LINE 28
Please note that my question is to be used in a regular flow not a DBMS SQL Flow. In a DBMS Flow, I can use TO_DATE, TO_TIMESTAMP. However, I would like to use a regular flow.
About your reminder: 1. Somehow when copying the code to the forum, the left parenthesis is replaced by [ 2. &myDate is stored in a flat file and has format A19V. It is passed into the flow using the "Get parameter using synonym".
I had same type of issue but in different way. But this solution worked for me I just made the &val/HYYMDS. And then the rest. May this would be help ful. Let us know whether it worked or not for you.
In a SELECT statement use the simplified function:
TIMESTAMP('&MYDATE' )
This does beg the question as to why are you still using 7.7.04? It was first release 3 1/2 years ago in April 2012 and it's scheduled to functionally stabilized at the end of December 2015. That's next month.
One way to do this in older releases (albeit with restrictions on non APT queries) is to use SQL. which is the less functional predecessor of DB_EXPR to call a database function:
SQL.TO_DATE('&MYDATE' , 'YYYY/MM/DD HH24:MI:SS' )
N/A
Posts: 397 | Location: New York City | Registered: May 03, 2007