In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)
Answer Posted / shaik
data m;
input n date monyy7.;
format date monyy7.;
cards;
12 mar99
45 mar1999
45 sep98
run;
we will get output;
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
List down the reasons for choosing sas over other data analytics tools.
what is treatment emergent events and treatment emregent adverse event
What do you understand by the term Normal Distribution?
how do you test for missing values? : Sas programming
what is the difference between infile and input? : Sas-administrator
What is the use of divide function?
What are the features of base sas system?
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.
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
What areas of SAS are you most interested in?
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
What is the work of tranwrd function?
Give an example where SAS fails to convert character value to numeric value automatically?
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
What is the different between functions and PROCs that calculate the same simple descriptive statistics?