BookmarkSubscribeRSS Feed
Reeza
Super User
Make sure you're deleting the final data set between run iterations.
I don't see what's generating that error, does the FINAL data set have what you want?

Another approach would be to to create 100's of summary data sets and just stack them all at the end but I usually don't like leaving datasets around like that personally, I find it messy. If you'd like to try that approach, remove the APPEND and PROC DATASETS, and give each output a unique name, same prefix, in the last data step. Then append them all together using the colon shortcut method.

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
  • 15 replies
  • 4045 views
  • 5 likes
  • 4 in conversation