Hello, I have a dataset "flights" with a variable flight which is numeric.
![Screenshot 2018-11-16 at 2.30.25 AM.png Screenshot 2018-11-16 at 2.30.25 AM.png](https://communities.sas.com/t5/image/serverpage/image-id/24975iF60261AE7550DF81/image-size/large?v=v2&px=999)
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;