BookmarkSubscribeRSS Feed
Susana0000
Fluorite | Level 6

Hello everyone,

I'm trying to create subsets of my variables in groups of 6.

I'm doing this to check that an observation has at least 6 variables that are complete to include in an evaluation.

Should I use ALLCOMB? If so, how? Because I've been seeing a lot of cryptic code and I can't seem to understand it.

Thanks

 

2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20

I don't understand this. Please be more specific and include both sample data and your desired result.

 

Makes it much easier to provide a usable code answer. 

Reeza
Super User
Typically, variables are columns and observations are rows.

Are you trying to create subsets of observations or variables?
Show us a small example - make fake data if you cannot share your real data. It should cover as many cases as possible, for example cases where all values are missing, where none are missing and everything in between. Show both the input and expected output, ideally they align so that the input would generate a specific output.

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

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
  • 2 replies
  • 701 views
  • 0 likes
  • 3 in conversation