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

How to include or exclude specific variables in a data set?

641


What is slibref?

744


What is the basic structure of the SAS base program?

684


How long can a macro variable be? A token? : sas-macro

715


how does sas handle missing values in a merge? : Sas programming

551






what are sas/access and sas/connect? : Sas programming

546


explain about sas business intelligence? : Sas-bi

596


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

570


what is the difference between unique key and primary key? : Sas-di

591


Did you used proc test? when?

1573


How you can read the variables that you need?

651


how to remove duplicates using proc sql?

622


Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

1202


How do you delete duplicate observations in sas?

571


In ARRAY processing, what does the DIM function do?

707