BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Solarmew
Calcite | Level 5

I'm trying to run and save a little sample bit of code:

 

data class;
input student wt ht $ smoke $;
cards;
125 56 f n
175 63 m n
180 58 m y

 

and while output data is there, nothing in results 😞

1 ACCEPTED SOLUTION

Accepted Solutions
alexal
SAS Employee

@Solarmew,

 

Just change your SAS code a bit:

 

data class;
input student wt ht $ smoke $;
cards;
125 56 f n
175 63 m n
180 58 m y
;
proc print data=class; run;

View solution in original post

2 REPLIES 2
alexal
SAS Employee

@Solarmew,

 

Just change your SAS code a bit:

 

data class;
input student wt ht $ smoke $;
cards;
125 56 f n
175 63 m n
180 58 m y
;
proc print data=class; run;
Solarmew
Calcite | Level 5

It worked! 😄 Thank you 🙂

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

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1125 views
  • 1 like
  • 2 in conversation