We have a abc.doc file having values:
ram,21,500
sita,22,600
radha,23,700
How to read abc.doc file to make a SAS data set work.abc:
work.abc
---------------
Name Age Salary
Ram 21 500
Sita 22 600
Radha 23 700
Now prepare your Base SAS and
Advance SAS Certification Exams with Online Mock tests: http://exam.sankhyana.com
For training related info kindly mail us at info@sankhyana.com
www.sankhyana.com
ram,21,500
sita,22,600
radha,23,700
How to read abc.doc file to make a SAS data set work.abc:
work.abc
---------------
Name Age Salary
Ram 21 500
Sita 22 600
Radha 23 700
Now prepare your Base SAS and
Advance SAS Certification Exams with Online Mock tests: http://exam.sankhyana.com
For training related info kindly mail us at info@sankhyana.com
www.sankhyana.com
data abc;
ReplyDeleteinfile cards 'c:\abc.doc' dsd;
input name $ age salary;
run;
unable to read the doc files;
ReplyDeletedata ds;
ReplyDeleteinfile datalines dlm=",";
input Name $ age sex;
datalines;
am,21,500
sita,22,600
radha,23,700
;
run;
The above code works