Hi,
While trying to compare results of a BO query to results of a SAS query I came across some discrepencies in results and have been having problems trying to resolve the differences.
My queries have 3 “OR” conditions
If Interpreter Flag is Y
or
If language is not 1201 (English)
or
If Birth Nation not in list 1100,1301,2107,2188,7102,7104,9220
My problem arises when the field is blank. In SAS the language is not in(’ ‘,‘1201’) or birthnation is not in (’ ',‘1100’ etc)
For BO I tried coding birthnation not in list , , , ,1100,1301,2107,2188,7102,7104,9220 but still have one item showing up with no birthnation. When I view the Data results there are actually 5 items with blank birthnations.
I tried coding language as not in list , , , ,1201 but still have 9 items showing up with no language. When I view the Data results there are actually 18 items with blank language.
The overall difference between the SAS query and the BO query is 23.
Can anyone suggest a way that I can key my BO query in to eliminate everything that is blank? I originally tried blank then comma, which got rid of some of the blanks, then added 2 blanks and a comma which got rid of a few more.
Thanks for any suggestions
capri (BOB member since 2003-06-20)