ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Data Warehouse  >>  SAS
 
 


 

 
 Teradata interview questions  Teradata Interview Questions
 Business Objects interview questions  Business Objects Interview Questions
 Cognos interview questions  Cognos Interview Questions
 Informatica interview questions  Informatica Interview Questions
 Crystal Enterprise Suite interview questions  Crystal Enterprise Suite Interview Questions
 Actuate interview questions  Actuate Interview Questions
 Ab Initio interview questions  Ab Initio Interview Questions
 Data Stage interview questions  Data Stage Interview Questions
 SAS interview questions  SAS Interview Questions
 Micro Strategy interview questions  Micro Strategy Interview Questions
 ETL interview questions  ETL Interview Questions
 Data Warehouse General interview questions  Data Warehouse General Interview Questions
Question
What SAS statements would you code to read an external raw
data file to a DATA step?
 Question Submitted By :: SasGuru
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What SAS statements would you code to read an external raw data file to a DATA step?
Answer
# 1
INFILE statement

and 


INPUT statement
 
Is This Answer Correct ?    3 Yes 0 No
Jothi Sankar
 
  Re: What SAS statements would you code to read an external raw data file to a DATA step?
Answer
# 2
INFILE AND INPUT STATEMENTS

EX;
DATA EMP;
INFILE 'E:\ABC\EMPLOYEE.TXT' MISSOVER;
INPUT VAR1 VAR 2....VARN;
RUN;
 
Is This Answer Correct ?    0 Yes 0 No
Mohan Reddy
 
 
 
  Re: What SAS statements would you code to read an external raw data file to a DATA step?
Answer
# 3
using proc import,infile and input
 
Is This Answer Correct ?    0 Yes 1 No
Sivanjaneyulu
 
  Re: What SAS statements would you code to read an external raw data file to a DATA step?
Answer
# 4
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 ?    2 Yes 0 No
God
 
  Re: What SAS statements would you code to read an external raw data file to a DATA step?
Answer
# 5
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 ?    1 Yes 0 No
G.jyotshna
 
  Re: What SAS statements would you code to read an external raw data file to a DATA step?
Answer
# 6
input & infile
 
Is This Answer Correct ?    2 Yes 0 No
Venki
 
  Re: What SAS statements would you code to read an external raw data file to a DATA step?
Answer
# 7
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 ?    1 Yes 0 No
Name Is No Need
 

 
 
 
Other SAS Interview Questions
 
  Question Asked @ Answers
 
how to shift the rows to cols? eg: i have like field1 field2 field3 10 20 20 this should be displayed as field1 10 field2 20 field3 30 (without the obs col) how do this?can i use transpose or tell me suitable way to do this? CMC3
in ods is there any lib's SAS1
What is the significance of the ‘OF’ in X=SUM (OF a1-a4, a6, a9);?  5
%STPbegin;%STPEND; ERROR: No logical assign for filename _WEBOUT. WARNING: No body file. HTML output will not be created. unable to fix it.plz help  2
Hi... this is chandu, did MSc Microbiology, trying to get job in SAS tool, PLZ Tell me whether IT industries will give consider my education to gain a job....?  1
How do you write a test plan? Oracle1
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?  3
Can you continue to write code while the rest of the people on the floor where you work have a noisy party to which you were not invited? Oracle2
code the tables statement for a single level frequency?  1
If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?  3
What is the pound sign used for the DATA _NULL_?  8
I have 50 variables in one data set, In reports i want to generate every 10 variables in one page how we will write code in proc report.  3
At compile time when a SAS data set is read, what items are created? Accenture8
How would you code a macro statement to produce information on the SAS log? This statement can be coded anywhere.  7
what is fact table and factless table?  1
WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS. Genzyme2
what is SAS/Access and SAS/Connect?what are the uses?  2
What do you feel about hardcoding? Pfizer3
What are the main differences between sas versions 8.2, 9.0, 9.1?  3
What statement do you code to write the record to the file?  2
 
For more SAS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com