Hello, I have a dataset "flights" with a variable flight which is numeric.
I am trying to convert this to a character variable. I used the code with put ( ) function but nothing happens. I have also tried using a different name for the new variable but it does not help. Can someone please help me out. I am using SAS University Edition.
Thanks and Regards.
data flights_1;
set flights;
flight_c = put (flight, 8.);
run;
data flights_1;
set flights;
flight = put (flight, 8.);
run;