i have 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 Posted / solasa

data sm;
input name $ number;
datalines;
run;

dataset in created without observations but the dataset has
varibles.

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you could design your ideal job, what would it look like?

2700


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

788


Mention the difference between ceil and floor functions in sas?

907


what is the difference between floor and ceil functions in sas? : Sas-administrator

942


What is the SAS data set?

902


Name any two sas spawners? : sas-grid-administration

788


Mention the validation tools used in SAS?

866


Tell me about % include and % eval? : sas-macro

900


What can you learn from the SAS log when debugging?

1128


Describe crosslist option in tables statement?

952


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1032


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

920


How to limit decimal places for variable using proc means?

811


what is the effect of the options statement errors=1? : Sas programming

823


Of all your work, where have you been the most successful?

4429