Hi, I have one dataset like
id date ex: id date
1 13 1 13Oct2011
2 14 2 14Oct2011
3 15 3 15Oct2011 --->this is the current date
here i want date format like 13Oct2011,14Oct2011 how we can
modify the numeric to date format plz answer.
Answer Posted / ramesh
data inter3;
input id 1-2 dat ;
cards;
1 13
2 14
3 15
;
run;
data inter4;
set inter3;
format dat1 date9.;
dat1=dat;
run;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
what is business intelligence? : Sas-bi
Difference between informat and format?
Define run-group processing?
Give some examples where proc report’s defaults are same as proc print’s defaults?
What is the use of divide function?
what are _numeric_ and _character_ and what do they do? : Sas programming
Difference between SAS STATA & SPSS?
Have you ever used the SAS Debugger?
How can I remove header from output data set?
Explain how merging helps to combine data sets.
What are types of transport files?
What is SAS informats?
What are the new features included in the new version of SAS Programming Language?
Mention the validation tools used in SAS?