The CreatorCon Call for Content is officially open! Get started here.

What is the syntax for writing out variables that include spaces?

explorenowblog
Tera Contributor

"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