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
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
What is the use of the %include statement?
Explain how merging helps to combine data sets.
Mention common programming errors committed in sas ?
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
Mention what is the difference between nodupkey and nodup options?
How to sort in descending order?
How substr function works in sas?
List down the reasons for choosing sas over other data analytics tools.
What is PROC in SAS?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
how will you location sas platform applications available from web browser? : Sas-bi
What is the difference between %local and %global? : sas-macro
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
how to generate the test data in sas without input data? : Sas-administrator