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.
This is in fact rather basic, but it depends on the internal format of you field_date
Suppose it is a smartdate in your database
then
DEFINE FILE XXX
FIELD_NEW/tMYY=FIELD_DATE;
END
TABLE FILE XXX
PRINT
FIELD_DATE FIELD_NEW
END
but please ...Read your manuals, use the application help function, do a search on this form. And finaly....buy the excelent book I have pointed to many many times.
Frank
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
WebFOCUS can format a SmartDate as 'Mmm, YY' or as 'MM YY', but for some reason it cannot chew Bits and rub it's logo at the same time - no combination of MY and Bt seems to work:
DEFINE FILE CAR
ORIGINAL_DATE/A10 WITH COUNTRY = '11/28/2010';
ALPHA_DATE/A8MDYY = EDIT(ORIGINAL_DATE,'99$99$9999');
SMART_DATE1/MBY = ALPHA_DATE ;
SMART_DATE2/MtY = ALPHA_DATE ;
END
TABLE FILE CAR
PRINT
ORIGINAL_DATE
ALPHA_DATE
SMART_DATE1
SMART_DATE2
WHERE RECORDLIMIT EQ 1 ;
END
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007