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 using Iway 6.1 and simply attempting to insert a date into an Oracle table from an xml element. I have attempted a simple IFL expression in the User Properties of my SQL execution object...Here it is:
(So if the date is not blank enter the string date as a picture formatted date else enter null)
When run, the SQL Statement errors. Looking at the trace I see this:
TO_DATE(''05/15/1974'',''MM/DD/YYYY'')
When it really should be this
TO_DATE('05/15/1974','MM/DD/YYYY')
I've tried various other approaches and none of them seem to work. am I using _qval incorrectly? I've tried without the 'single' keyword, also tried both char and action keywords together _qval(//xpath,'single','null') still everything places two single quotes together instead of one single quote. Can anyone help? Thanks.This message has been edited. Last edited by: Phil DeBusk,
I consulted with the iWay team on this one. They created a test of the ifl function “_qval()” from the iSM command line using the tool “testfuncs”. It was tested in iSM 6.1.7.
A simple input file “Date.xml” was created with this as content:
06/16/1966
Will you please verify that your function returns the expected value - the date surrounded by single quotes?
Thanks Kathryn, As it turns out the crux of my problem was in the transform configuration. I needed to set the "Text Qualifier" in the input to parse for double-quotes. This stripped all the messy quotes from my document and allowed all my functions to work as advertised.