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

What is the sas data set? : sas-grid-administration

576


What is the difference between where and if statement?

624


What is Linear Regression?

687


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

652


Mention how to limit decimal places for the variable using proc means?

645






what is treatment emergent events and treatment emregent adverse event

1945


What are the statements in proc sql?

598


what are the best practices to process the large data sets in sas programming? : Sas-administrator

544


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

547


Explain what Proc glm does?

641


What are the data types in sas?

610


What will calendar procedure do?

601


What’s the difference between var b1 – b3 and var b1 — b3?

834


what do you mean by data staging area? : Sas-di

607


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

946