BookmarkSubscribeRSS Feed
saikiran_nemani
Obsidian | Level 7

I have the Following Variables Names as Below :

 

S.No   Lead_No   Billing_Reference  Quota_Type         Id          Sub_status   Rebate  NWAC 

1        43618215        838389                  CHB          a0d2000        Installed     Space    Space

2        43618215        838389                  CHB          a0d2000        Installed       587       610

 

For Every Record We are Getting One blank Value for Rebate & NWAC and We need to eliminate in Proc Sql

3 REPLIES 3
Kurt_Bremser
Super User

Do you want those instances deleted from the dataset, or do you want to set values according to a rule?

If the second, please post the rule(s).

ballardw
Super User

@saikiran_nemani wrote:

I have the Following Variables Names as Below :

 

S.No   Lead_No   Billing_Reference  Quota_Type         Id          Sub_status   Rebate  NWAC 

1        43618215        838389                  CHB          a0d2000        Installed     Space    Space

2        43618215        838389                  CHB          a0d2000        Installed       587       610

 

For Every Record We are Getting One blank Value for Rebate & NWAC and We need to eliminate in Proc Sql


Perhaps sharing the code that is generating the output and descriptions, if not example data, from the sets used in the join would help.

PGStats
Opal | Level 21

A simple delete query?

 

proc sql;
delete from myData
where rebate is missing and NWAC is missing;
quit;
PG

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1316 views
  • 1 like
  • 4 in conversation