What SAS statements would you code to read an external raw
data file to a DATA step?

Answer Posted / sankar

use INFLE statement

data dsname;
infile 'path of file' <options>;
input var1 var2................varn;
run;

options like dsd dlm missover firstobs obs ..etc

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name and describe few sas character functions that are used for data cleaning in brief.

886


What is the general format of function in sas? : sas-grid-administration

775


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

2600


where to use sas business intelligence? : Sas-bi

791


name some data transformation used in sas di? : Sas-di

747


Give e an example of..

2113


what is study design in while working with SAS? what are screening variables in SAS?

1920


What is SAS? What are the functions does it performs?

952


Explain data_null_?

808


What do you know about sas data set?

812


What is maximum number of rows and cols can be handled in SAS?

1094


Describe what are the different levels of administrative users in sas? : sas-grid-administration

797


What would you change about your job?

2142


How do you control the number of observations and/or variables read or written?

1018


How sas treats the dsd delimiters?

953