Jump to content

How do I test for a NULL in Filter?


robert fuschetto

Recommended Posts

The ones you want are not blanks, they are NULLS or MISSING as inidcated by the dots or periods.

I was able to reproduce your issue with the ggsale file:

TABLE FILE GGSALESPRINT SEQ_NO UNITSWHERE SEQ_NO GT 10ON TABLE HOLD AS GG11END JOIN LEFT_OUTER SEQ_NO IN GGSALES TAG J0 TO UNIQUE SEQ_NO IN GG11 TAG J1 AS J1END TABLE FILE GGSALES PRINT SEQ_NOJ1.SEQ_NO WHERE J1.SEQ_NO IS MISSINGEND

Then I found that if I put the following in the beginning of the code I got only the desired rows on the output:

SET HOLDMISS=ON

Your situation is a little different, but maybe this would work for you too.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...