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

Answers were Sorted based on User's Feedback



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

Answer / jothi sankar

INFILE statement

and


INPUT statement

Is This Answer Correct ?    33 Yes 2 No

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

Answer / 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

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

Answer / god

using infile and input statements must it is possible to
clean and get the data into in u r environment....

some body says using proc import using proc import it is not
possible to clean and get the data in u r
environment..................it will take as it is

Is This Answer Correct ?    9 Yes 0 No

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

Answer / name is no need

we can import the an external file in three ways to a sas
data set
1.libname libref<location of the sas data set library>;
filname fileref<path of the raw data file>;
data <data set name>;
infile <fileref>;
input <variable declarations>;
run;
2.proc import

3.by using the proc import option in the sas wizard of file
menu option.

Is This Answer Correct ?    8 Yes 0 No

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

Answer / venki

input & infile

Is This Answer Correct ?    7 Yes 0 No

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

Answer / g.jyotshna

whenever the data in .txt .dat format we can directly us
infile and input statements.
but incase of .xls
it is not possible to read excel data file directly through
infile input.
we have to use:
wizard
DDE(dynamic data exchange)
proc import (its best one)
(in projects we go for proc import only)
after reading into sas session we will go for cleaning.

Is This Answer Correct ?    5 Yes 4 No

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

Answer / srilatha

infile & input statements

Is This Answer Correct ?    1 Yes 0 No

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

Answer / ranjitha

infile statement

Is This Answer Correct ?    1 Yes 0 No

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

Answer / sivanjaneyulu

using proc import,infile and input

Is This Answer Correct ?    4 Yes 4 No

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

Answer / aks

Proc import

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

If you were told to create many records from one record show how you would do this using arrays and with PROC TRANSPOSE?

1 Answers   HCL, Quintiles,


Which date function advances a date, time or datetime value by a given interval?

0 Answers  


Briefly describe 5 ways to do a "table lookup" in sas.

4 Answers   Quintiles,


Name statements that are recognized at compile time only?

6 Answers  


it will become easy if uuu provide website linkssss and list of consultanciessssss

0 Answers  






if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming

0 Answers  


Hi All.I am looking for Good Institute who could Provide the online SAS BI+DI Training along with software.Primarily in Delhi/NCR or in Hyderabad Please help with name and contact number of concerned person!! Thanks in Advance! :)

1 Answers  


how to assign a macro value to a variable?

8 Answers   CitiGroup,


what is sas business intelligence? : Sas-bi

0 Answers  


What is the basic structure of a sas program?

0 Answers  


what is intially documentation for a sas programmer?

2 Answers   Accenture,


data abc; input x y ; cards; 1 2 5 6 7 8 7 8 1 7 5 7 ; run; Proc Freq data=abc; tables x*y / chisq nopercent nocol norow PLCORR; RUN; If we run the code, we have Polychoric Correlation = 0.9054 in the last table. I want to extract this particular entry with the value. Means I will create one dataset in which this value will be stored/extracted. I need your help in coding this. Please help me out.

2 Answers  


Categories