02-17-2017 03:04 PM
I have a file and its first variable is an ID variable that is numeric, when it should be character. If I convert it and rename it, the new variable is placed at the end of the file, which is cumbersome. I tried using "retain" to reorder the file, but somehow the ID variable remains at the end (not sure what I do wrong). Is there an easier way of doing this?
02-17-2017 03:15 PM
Use next skiltom code:
format id; /* force ID to be 1st , you can add other variables in desired order*/
ID = input(_id, best8.); /* adapt to length of ID */
Need further help from the community? Please ask a new question.