In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)
Answer Posted / chiranjeevi
data code;
input name$ dob monyy7.;
cards;
a mar99
b mar1999
run;
proc print data=code;
format dob monyy7.;
run;
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
What are pdv and it functions?
hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana
What is maximum number of rows and cols can be handled in SAS?
What are the difference between the sas data step and sas procs?
Explain append procedure?
What are the special input delimiters used in SAS?
how do you test for missing values? : Sas programming
Name some categories in sas 9? : sas-grid-administration
how do the in= variables improve the capability of a merge? : Sas programming
What is a method to debug and test your SAS program?
I have a dataset concat having variable a b & c. How to rename a b to e & f?
Are you involved in writing the inferential analysis plan? Tables specfications?
What is run-group processing?
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.