What SAS statements would you code to read an external raw
data file to a DATA step?
Answer Posted / name is no need
we can import the an external file in three ways to a sas
data set
1.libname libref<location of the sas data set library>;
filname fileref<path of the raw data file>;
data <data set name>;
infile <fileref>;
input <variable declarations>;
run;
2.proc import
3.by using the proc import option in the sas wizard of file
menu option.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What do the PUT and INPUT functions do?
What can you learn from the SAS log when debugging?
What are the difference between ceil and floor functions in sas?
What is the purpose of trailing @ and @@? How do you use them?
How you can read the variables that you need?
How to limit decimal places for the variable using proc means?
What is proc sort?
how will you location sas platform applications available from web browser? : Sas-bi
what is proc Index? and what is proc document?
What system options would you use to help debug a macro? : sas-macro
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
what is sas business intelligence? : Sas-bi
What is program data vector (pdv)?
What are the default statistics for means procedure?
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming