12-28-2013 03:48 AM
proc print data =animals (rename=(Class=Type Habitat=Home))
I saw this statement in a book. I am wondering why "Class=Type Habitat=Home"?
Usually old variable name= new variable name, so why is there " =Home"?
04-10-2014 03:33 PM
Is there some declaration that needs to happen before the RENAME. I get an error message
Variable newvar is uninitialized.
You need to put this in context. By including the rest of the data step. I would start a new thread.