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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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