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 having problems converting a I8MDYY to an A8MDYY.
I used the following technique to convert a date to an alpha (a blank date field is shown as the basedate 12/31/1900 in Excel with background coloured).
-* CPOST_DT is MDYY type CTRL_I/I8=CPOST_DT; CTRL_A/A8MDYY=CPOST_DT; MM3/A2=EDIT(CTRL_A, '99'); DD3/A2=EDIT(CTRL_A, '$$99'); YYYY3/A4=EDIT(CTRL_A, '$$$$9999'); CTRL_AD/A10=IF CTRL_I EQ 0 THEN ' ' ELSE MM3|'/'|DD3|'/'|YYYY3;
But another date field to convert is I8MDYY and similar code for that type does not work. How can an I8MDYY be converted to an A8MDYY?
thanks Joan. But it did not work. The code CTRL_I/I8=CPOST_DT; CTRL_A/A8MDYY=CPOST_DT; MM3/A2=EDIT(CTRL_A, '99'); DD3/A2=EDIT(CTRL_A, '$$99'); YYYY3/A4=EDIT(CTRL_A, '$$$$9999'); CTRL_AD/A10=IF CTRL_I EQ 0 THEN ' ' ELSE MM3|'/'|DD3|'/'|YYYY3;
works fine with CPOST_DT which is MDYY type. But using similar code for field PEND_DT (which is I8MDYY type) does not-:
You should consider the book almost 1001 Ways to Work with Dates in WebFOCUS...It will answer your questions on almost every kind of date transformation and date calculation. Comes with CD with all code on it. Check it out. Regards, Vivian Aviter, Inc. http://www.aviter.com
Vivian Perlmutter Aviter, Inc.
WebFOCUS Keysheet Rel. 8.0.2 (Almost) 1001 Ways to Work with Dates thru Rel. 8.0.2 Focus since 1982 WebFOCUS since the beginning Vivian@aviter.com