In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)
Answer Posted / sankar
data ss;
input name$ s anydtdte9.;
cards;
sankar mar99
mahesh mar1999
run;
proc print data=ss;
format s date9.;
run;
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What are the table names in oracle database...?
Explain what is SAS informats?
What is the role of administrative users? : sas-grid-administration
What is the difference between nodupkey and nodup options?
What are the data types that sas contain?
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
Name any two sas spawners? : sas-grid-administration
Explain the special input delimiters used in sas programming.
Differences between where and if statement?
what is broad cast agent? : Sas-bi
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
Describe the ways in which you can create macro variables?
What is the command used to find missing values?
How does the internal authentication work in sas? : sas-grid-administration
What is the difference between order and group variable in proc report?