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 a report that is comparing two data sources together, to make sure they match. One of the data sources is on SQL server and the other is probably on Oracle (I can find out for sure if it is important). In one data source, the null values are showing as a space and in the other they are showing as a period when I run the report. Using an IF statement (IE. IF FIELD1 NE FIELD2 THEN "No Match"), these fields are not matching.
Can anyone suggest something for me to normalize my null value fields so they will match?
Cheers,
Joey
-WebFOCUS 8.2.01 on Windows
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005
I tried this out, and it seems to only affect the display of the report output. The comparison between the two fields is still failing to generate a match.
I am thinking of doing a define for both the fields that checks if they are null and sets them to a bogus value ("Null"), just to compare the two. I'll let you know how that goes.
Cheers,
Joey
-WebFOCUS 8.2.01 on Windows
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005
Joey the NODATA symbol is as you detected just an edit mask, not anything about the content of the field. I'm thinking that matching on two non-existent values is, philosphically, not actually possible. They each specifically dont' exist. Could you, define two new fields SQLEMPTY/I1=IF field1 IS MISSING THEN 0 ELSE 1; etc and use those dummy fields as the basis for comparison?
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
FYI, Joey was able to do a DEFINE that checked for IS-NOT MISSING and also for NE '', and replaced the contents with a 0 or the actual value. Both fields compare properly now.
Thanks for everyone's input. Wish you all have a happy holiday!
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004