BookmarkSubscribeRSS Feed
carmendee
Obsidian | Level 7

Simplist way in Enterprise Guide to keep and update all the rows in one file and add new rows and or update rows.

Example

 

Input 1

Tom Active

Bob Active

Tim Active

Jack Inactive

 

Input 2

Tom Inactive

Sue Active

 

Output desired:

Tom InActive (Updated row)

Bob Active

Tim Active

Jack Inactive

Sue Active (new row)

1 REPLY 1
LinusH
Tourmaline | Level 20

What can be called simple depends on your preferences and skills.

 

By programming: data step merge, update or modify (or even SQL) will solve this "simple" update scenario.

 

If you are more of point-and-click-person, I think unfortunately the only standard component for this kind of of operation is Query Builder.

There you can do a full outer join. Remember that you need to define calculated columns using coalesce() function.

Ok, perhaps, not that very simple...?

Data never sleeps

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
  • 1 reply
  • 728 views
  • 0 likes
  • 2 in conversation