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 have just been delivering training on dates to our coders and advanced users and have had the revelation that date processing could be considerably simplified if it was consistent in dialog manager and webfocus code.
With webfocus code you have smart dates, whereas with DM you have alpha dates and a whole series of legacy functions different to the smart functions.
A simple solution would be to introduce date typing for dm.
Stored internally as a base date integer it is converted to date display format when the line of webfocus code is constructed.
In short legacy processing will always have to be retained where you have DM dates untyped resulting in extra complexity.
Interestingly the other pre-processor based language I worked with Pl/1 had the same pre-processor (DM) language as the main language which made for simplicity.
If no one has done this I will raise as NFR.
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006
It would indeed be nice to have the same formats available in DM as we have in table (why limit ourselves to just integer and alpha and, in your suggestion, dates). Wouldn't it be nice to be able to do decimal calculations in DM? Would we also like to have edit options added to the DM-formats? And do we all think that just DMYY format is enough? Or should it also be possible to have the YY and YYMD and MDYY and ... available?
This is just to indicate, that if you ask for one thing, there will always be somebody who is asking for more and is not really being happy with the (in his or her view) limited NFR.
But, by all means, please go ahead and submit the NFR, I'm with you.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
I expect you are aware that you can temporarily convert a Dialogue Manager alpha variable into a date variable, execute a function and then turn it back to an alpha variable.