I am trying to display a date in my result after running the below program in SAS. It runs properly but in the sas data table under DOB column I don't get anything except a period .
Below is my code what am I doing wrong?
data sample;
Input ID name $ Dob;
Format DOB mmddyy10. ;
datalines;
1 abc 22jan1996
2 xyz 25aug1996
;
run;
Proc print data = sample;
run;
Also I would like to know what does a period means at the end of this line before the semicolon:
Format DOB mmddyy10. ;
mmddyy10.
is perfectly valid in SAS - support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/… - the 10 references the number of characters. $\endgroup$