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 🙂

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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