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

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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