SAS has two types of variables. Fixed length character strings and floating point numbers.
So the first thing you need to check is whether your variable is numeric or character. Then if it is numeric whether it has a format attached that being used to specify how to display the floating point numbers as character strings.
If the variable has date values then it has the number of days since 1960 storing in it. The format is what makes that number meaning full to humans. So if the date is the third of February in the year 2014 then the value stored is the number 19,757. If you display that number with the DATE9. format it will look like 03FEB2014. If you display it with the MMDDYYN8. it will look like 02032014. If you display it with MMDDYY10. format it will look like 02-03-2014. If you display it with the format you mentioned, MMDDYY8., then it will look like 02-03-14.
If you want to type a date value into your program you can use a date literal. That is a quoted string with the letter d appended. The string inside the quotes needs to be something the DATE informat can interpret as a date. So use one of these values:
'03FEB2014'd
'3-feb-2014'd
"03feb14"d
... View more