What is the syntax for writing out variables that include spaces?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 01:47 AM
"I have a survey imported into SAS where the variables are the questions themselves (for example: ""What is your age?"")
I am just trying to get a idea of the contents of the dataset with functions like proc print but I'm not sure of the syntax.
How would I go writing those variables as in below?
proc print data=mydata;
var What is your age?; run;
I have tried with single and double quotation marks but no success yet."
0 REPLIES 0