Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] if date val EQ '01/01/1900' then display null

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] if date val EQ '01/01/1900' then display null
 Login/Join
 
Gold member
posted
Hi

i have date field in this formate(mdyy) from DB2 database


date_val(mdyy) formate
01/01/1900
03/21/2012
12/31/2011
01/01/1900
02/31/2011
01/06/2010

i want to display null when date_val is "01/01/1900"


date_val(mdyy) formate
null
03/21/2012
12/31/2011
null
02/31/2011
01/06/2010

can any one suggest me how to do plz

Thanks
kumar.

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Report This Post
Platinum Member
posted Hide Post
DT_FLD/MDYY MISSING ON = IF DT_FLD EQ '01/01/1900' THEN MISSING ELSE DT_FLD;


WF 7.7.02 on Windows 7
Teradata
HTML,PDF,EXCEL,AHTML
 
Posts: 165 | Registered: September 29, 2008Report This Post
Virtuoso
posted Hide Post
You might need to add this to atturhari's suggestion:

SET NODATA = 'null'

Alternatively, you could convert your date to an alpha value in order to display 'null' where appropriate:

NEWDATE/A10 = IF (ORIGINAL_DATE EQ '01/01/1900') THEN 'null' ELSE DATETRAN(ORIGINAL_DATE,'(MDYY)','(/)','EN',10,'A10');


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] if date val EQ '01/01/1900' then display null

Copyright © 1996-2020 Information Builders