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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1094 views
  • 0 likes
  • 2 in conversation