Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

infile and input statements.
ex:
data m;
infile 'c:\m.txt';
input :xxxx;
run;

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

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

Answer / ram

proc import is utilities procedure...so infile is correct

Is This Answer Correct ?    4 Yes 0 No

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

Answer / pramod

Using import wizard in file menu also we read an external
raw data file to a data step

Is This Answer Correct ?    3 Yes 1 No

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

Answer / sastechies

We use SAS statements –

FILENAME – to specify the location of the file

INFILE - Identifies an external file to read with an INPUT
statement

INPUT – to specify the variables that the data is
identified with.

Read more: http://sastechies.blogspot.com/2009/11/sas-
interview-questions.html

Is This Answer Correct ?    2 Yes 0 No

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

Answer / sankar

using proc import procedure

synatax :for text file

proc import datafile='path' out=datasetname
dbms=dlm;
delimiter='specific delimiter';
run;

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More SAS Interview Questions

How would you code a merge that will keep only the observations that have matches from both sets?

5 Answers  


What does error:1 mean?

8 Answers   Accenture,


what is pdv? how it is related to input buffer in sas?

5 Answers   HSBC, Satyam,


explain the use of % includes a statement in sas? : Sas-administrator

0 Answers  


which features do you use to check the data validations and errors? : Sas-administrator

0 Answers  


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.

10 Answers   Accenture,


Are the preferred term counts are always equal to Body system counts? If so, Why are they equal if not why they are not equal?

1 Answers   Icon,


How to write duplicate records into a separate dataset using sort?

4 Answers   HSBC,


There are 200 observations in a dataset, i want to pull out the observation no's 100, 150,180,190 by using Proc SQL? How you can get it?

5 Answers  


what is the use of catalog?

1 Answers   Cognizant,


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

0 Answers  


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

0 Answers  


Categories