How to get any kind of data in SAS? Is it possible to take
data from notepad in SAS?
Answer Posted / naveen
Data sample_accounts;
INPUT Account 1-7 OpenDate $ 9-17 StatusCode $ 21-22
CreditLimit 25-29;
CARDS;
1234670 11-Sep-04 Z 2000
1234671 12-Sep-04 3000
1234672 13-Sep-04 Z 2500
1234673 14-Sep-04 T 3200
1234674 15-Sep-04 8000
run;
filename myfile "C:\Mydata\sample_accounts.txt";
data qqq;
infile myfile dlm=' ';
input Account OpenDate $ StatusCode $ CreditLimit;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate between ceil and floor functions.
how do the in= variables improve the capability of a merge? : Sas programming
What is SAS? What are the functions does it performs?
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?
How do you use the do loop if you don’t know how many times you should execute the do loop?
What are common programming errors committed in sas
Can you explain the process of calendar?
Differentiate between sas functions and sas procedures.
what is metadata? : Sas-bi
What is factor analysis?
what is treatment emergent events and treatment emregent adverse event
What is PDV?
How would you invoke a macro? : sas-macro
What is the function of output statement in a SAS Program?
how many types of prompts are there? : Sas-bi