how to read raw data in sas. Do it manually and throw the
programming.



how to read raw data in sas. Do it manually and throw the programming. ..

Answer / singh.naveen409

Process-1
FIle-Import Data-Next-Browse-ok-finish

Process-2
filename myfile "file location path.extension";
data qqq;
infile myfile;
input ......................;
run;


In the place of this .............just right down variable
name;

If you have csv file then;
process:-
proc inport out=work.auto1 filename " path of file which you
want to read.csv"
dbms=csv replace;
getnames=yes;
run;

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More SAS Interview Questions

If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?

6 Answers  


How do you download a flat file from Mainframe to your local PC using SAS?

3 Answers  


how to generate report for 0 observation dataset?

3 Answers   Mind Tree, Student,


Mention what are the data types does SAS contain?

0 Answers  


For what purpose(s) would use the RETURN statement?

1 Answers  






We want to merge file A and B. File A has variable age, file B provide birthdate. How to merge the data according to age in file B

3 Answers  


Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?

4 Answers   HP, Oracle,


What are the different operating system platforms in which we can use sas? : sas-grid-administration

0 Answers  


Name statements that are recognized at compile time only?

3 Answers   Accenture,


how can get the first and last observations in a dataset using Proc SQl?

4 Answers   Satyam,


What are the statements in proc sql?

0 Answers  


i have a null dataset with 20 variables. i want to upload the variables which contain name like a or k or anything in another dataset.how can we create the dataset?

3 Answers   L&T,


Categories