BookmarkSubscribeRSS Feed
Gieorgie
Quartz | Level 8
Kurt sorry but I'm still confuse. My point is how to set proc append or proc transpose so that the wlong setting does not add data as consecutive rows or columns. There is a historical file that starts with Run_Date from 1, then if I run tomorrow with number 2. That number 2 should be the next column, not the next rows.
Kurt_Bremser
Super User

I will say this a last time, in the hope that it finally sinks in:

ONE DOES NOT WORK WITH WIDE DATASETS!!!

Wide datasets are needed for regression (where you need a lot of predictors side-by-side with the outcome) or for presentation purposes. They are useless for work like joining, subsetting, grouping or appending (what you experience right now).

So you keep all your data in a long layout, can then simply append (as the structure is constant) and let SAS procedures do the work of transposing for you when needed for reporting.

Gieorgie
Quartz | Level 8
Ok now i get it, sorry i hope i didn't ruin your weekend 🙂

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 18 replies
  • 2937 views
  • 1 like
  • 3 in conversation