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

Answer Posted / mohan reddy

INFILE AND INPUT STATEMENTS

EX;
DATA EMP;
INFILE 'E:\ABC\EMPLOYEE.TXT' MISSOVER;
INPUT VAR1 VAR 2....VARN;
RUN;

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

1766


Do you need to know if there are any missing values?

591


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

710


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

817


Explain substr function?

569






What is the function of Stop statement in a SAS Program?

641


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

1908


what are the benefits of data integration? : Sas-di

531


Mention what is SAS data set?

668


What are the ways to do a “table lookup” in sas?

587


How to limit decimal places for variable using proc means?

585


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

594


How are numeric and character missing values represented internally?

1132


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

593


how does sas handle missing values in formats? : Sas programming

574