How to get any kind of data in SAS? Is it possible to take
data from notepad in SAS?

Answer Posted / mr.b

Data sample_accounts;
INFILE "C:\Mydata\sample_accounts.txt";
INPUT Account 1-7 OpenDate $ 9-17 StatusCode $ 21-22
CreditLimit 25-29;
RUN;
tis will be as i know.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name some categories in sas 9? : sas-grid-administration

561


what is broad cast agent? : Sas-bi

601


for what purpose would you use the retain statement? : Sas programming

589


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

2389


how do you test for missing values? : Sas programming

583






How we can call macros with in data step? : sas-macro

619


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1690


How do you connect the desktop application to metadata server? : sas-grid-administration

589


Differentiate input and infile.

601


name some data transformation used in sas di? : Sas-di

548


How is character variable converted into numeric variable and vice versa?

602


Mention what are the data types does SAS contain?

701


Differentiate between format and informat? : sas-grid-administration

584


why is sas considered self-documenting? : Sas programming

683


What is a pdv and what are its functions?

603