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

Answer Posted / gaurav verma

data xyz first obs=first
obs=last;
set zyx;
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what techniques and/or procs do you use for tables? : Sas programming

573


How will you generate test data with no input data?

561


What will calendar procedure do?

593


What are the difficulties u faced while doing vital signs table or dataset?

1929


What is maximum storage capability of SAS?

904






What do the SAS log messages "numeric values have been converted to character" mean?

884


What is the difference between where and if statement?

617


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1222


Describe the ways in which you can create macro variables?

631


How do you delete duplicate observations in sas?

571


describe the interaction table in sas di? : Sas-di

589


What are the features of SAS?

575


What is the purpose of _character_ and _numeric_?

583


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

1766


How does proc sql work?

611