BookmarkSubscribeRSS Feed
ballardw
Super User

@TMiles wrote:

 

I am having trouble attaching a SAS dataset -how can I put a sample of the data here?


Instructions here will show how to turn a data set into datastep code: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat...

 

To post just a few records subset your data such as with the OBS dataset option on a set statement. I also recomment removing variables that are not concerned with the issue at hand (drop or keep as needed).

Then either paste the resulting data step code into a code box using the {i} icon or attach as a text file.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 15 replies
  • 3074 views
  • 2 likes
  • 4 in conversation