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


Please Help Members By Posting Answers For Below Questions

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

2261


What is the use of the %include statement?

681


Explain how merging helps to combine data sets.

607


Mention common programming errors committed in sas ?

642


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1658






Mention what is the difference between nodupkey and nodup options?

591


How to sort in descending order?

781


How substr function works in sas?

699


List down the reasons for choosing sas over other data analytics tools.

800


What is PROC in SAS?

601


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

567


how will you location sas platform applications available from web browser? : Sas-bi

536


What is the difference between %local and %global? : sas-macro

662


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;

1959


how to generate the test data in sas without input data? : Sas-administrator

570