SAS Question: Download Questions PDF
Suppose a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window. How can we do this one?
Answer:
data sm;
input name $ number;
datalines;
run;
dataset in created without observations but the dataset has
varibles.
input name $ number;
datalines;
run;
dataset in created without observations but the dataset has
varibles.
Download SAS Interview Questions And Answers
PDF
Previous Question | Next Question |
What is validvarname and varnum? why we are using this options; explain with a syntax for this options? | What is the use of catalog? |