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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Null values
 Login/Join
 
<Lee Roper>
posted
I have a data file that has null values in a primary field. I do not want to set any records with a null value in this field. I tried the following: WHERE ( DEP_CDE NE ''' ' ) but it still pulls the records with the empty values. How do I eliminate nulls from my data set?

Thanks, Lee
 
Report This Post
Gold member
posted Hide Post
Have you tried
WHERE DEP_CDE IS-NOT MISSING

This should take care of null values for you.

Stan
 
Posts: 90 | Registered: April 15, 2004Report This Post
<Lee Roper>
posted
It looks like my problem is going to be more complex than that. There must be a space of some sort in this field (the data file was imported from a text file) WebFocus is not reading it as a null, because the records still pull in when using DEP_CDE IS NOT MISSING. To verify this, I reversed the selection and tried to select only records where DEP_CDE IS MISSING, and WebFocus did not find any records. So what can I do to account for this space in the field?
 
Report This Post
Platinum Member
posted Hide Post
Try something like where DEP_CDE GE 0 (or '0' if it's a text field). If the blank values contain a space I believe if I remember correctly a 'space' is not GT '0'. Another option is if DEP_CDE always contains at least one number for example you could use WHERE DEP_CDE CONTAINS(0 OR 1 OR 2 OR 3 etc);

Tewy
 
Posts: 123 | Location: UK | Registered: October 09, 2003Report This Post
Master
posted Hide Post
IF you try getting records that are '' and you get only those records and you have also tryed where is not missing. Then you might try using where xxx is not missing and xxx NE ''. Give that a try. The only other thing would be to use a hex editor and see what the hex value of the field is.
 
Posts: 865 | Registered: May 24, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders