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.
Should be real simple. I'm trying to get current quarter for today's date in dialogue manager. I've tried using the DATECVT function, but I'm probably not doing it right. The idea is to display QYY format for today's date ("Q4 2009"):
Dialogue Manager is not very good with dates. It handles numbers well and strings well, but is pretty dumb when it comes to dates and requires quite a bit of trickery to get the simplest calculations.
In any case, it does not know what the format of QYY would be as DM can only use string or alpha formats and QYY is a date format. If you converted to A6YYM, this would work. However, DM does not appear to know about quarter translations (or date translations either, for that matter - fails with MTrY)
Your best bet would be to edit the month out of the I8MDYY string and then IF &MTH EQ '01 OR '02' OR '03 THEN 'Q1'.... and then paste it back with the year.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Your other alternative is to do this in a DEFINE where the date formats are recognized and more easily manipulated.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007