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 firstname.lastname@example.org for further assistance. Reference the community FAQ to learn more about the community.
IMHO this depends also of the format the date is stored in the database It might be a smartdate that only is presented as SDATE/DDtrMYYYY. And the solutions depend on the language. In my language is the 5th month 'MEI'.
Last remark: he was asking for
to convert a date from DMYY format to DD-MMM-YYYY
The example was the other way around.
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
Thanks for your help. you have moved me closer to do what I need to. Unfortunately, I realized after reading your responses that I forgot a major part of the question.
I need to compare the date (which is extracted from a alphanumeric string) with a date taken from a datetime stamp in oracle.
I extract the date from the datetime using DMYY_DATE/DMYY = HDATE(IN_DATETIME, DMY_DATE);
But if I compare DMYY=DATE with Tom's DATE4 it always fails the compare (even when they are the same). I'm doing the compare in a define MATCHED/A3 = IF DATE4 EQ DMYY_DATE THEN 'YES' ELSE 'NO'; but it always returns NO
What I need (or at least what I think I need) is to get the string '03032007' to be a smart date, but DATECVT complains about wrong format of argument 1 and CHGDAT returns nothing (an empty string I presume).
WebFOCUS 8.2.03 (8.2.06 in testing)
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007
Obviously, you are new to the site, and, possibly WebFOCUS? 2 whole posts and you get a cantankerous individual who obviously LOVES WebFOCUS!!!
Most of us on the site enjoy the professional mentoring side, especially when utilizing a new tool; others just can't get away from their anal retentive side. Some are still waiting for the Moon over Parador to rise, or, their Lotto numbers to come in...
Don't take it personally,; there are some great mentors here and, the site itself, is a plethora of information.
There are many ways to climb the WebFOCUS mountain, so, Keep the questions coming...
Edit: Spellcheck!!!This message has been edited. Last edited by: Tom Flynn,