SAS - Trying to do not equal condition

   

  Asked by Anonymous - SAS - Trying to do not equal condition:
I'm currently writing a SAS program on mainframe and I need to do IF statement to check for not equal.

I tried
IF (NAME != 'XXX');  also doesnt work, how do I do this check?

Joe Says:
You should do that as
IF (NAME NE 'XXX');

At least thats how I remember it, I havent run SAS in a while :^)

Anonymous Says:
Thanks that worked fine

Add your reply below ...


Your Nickname:

Your Reply:

Type the code: