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


Please Help Members By Posting Answers For Below Questions

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.

1814


what is business intelligence? : Sas-bi

677


Difference between informat and format?

741


Define run-group processing?

677


Give some examples where proc report’s defaults are same as proc print’s defaults?

763






What is the use of divide function?

689


what are _numeric_ and _character_ and what do they do? : Sas programming

777


Difference between SAS STATA & SPSS?

781


Have you ever used the SAS Debugger?

1321


How can I remove header from output data set?

2201


Explain how merging helps to combine data sets.

704


What are types of transport files?

7156


What is SAS informats?

732


What are the new features included in the new version of SAS Programming Language?

830


Mention the validation tools used in SAS?

740