I'm trying to convert a sas date9. date to a character variable, but the problem, I guess, is that date9. actually has a numeric "julian" value, so when I try to pass it to a character variable, it dismisses the date9. format and becomes a number ("21635").
In other words, I have a variable date9. = 27MAR2019, with the value "21635", and I want a character variable char = "27MAR2019".
I tried using both put and input functions, but they only use the 'julian' value.
Can anyone give me a hand?