Author Topic: What is difference between rename and lable in sas?  (Read 156 times)

0 Members and 1 Guest are viewing this topic.

Offline MrSpecialist

  • Sr. Member
  • *
  • Posts: 343
  • Karma: +1/-0
  • I'm an expert!
    • View Profile
What is difference between rename and lable in sas?
« on: September 17, 2008, 11:52:38 AM »
I am new to SAS and been wondering if anyone can help me out on this.. is there a difference between rename and label in SAS?

Techronnati | where technology never sleeps

What is difference between rename and lable in sas?
« on: September 17, 2008, 11:52:38 AM »

Mountain View

Offline CyborgRepublic

  • Full Member
  • *
  • Posts: 202
  • Karma: +0/-0
    • View Profile
Re: What is difference between rename and lable in sas?
« Reply #1 on: September 17, 2008, 11:53:41 AM »
I think Rename will overwrite the values in data portion and lable
displays in descriptor portion just for printing

Offline CyborgRepublic

  • Full Member
  • *
  • Posts: 202
  • Karma: +0/-0
    • View Profile
Re: What is difference between rename and lable in sas?
« Reply #2 on: September 17, 2008, 11:54:55 AM »
In addition, Rename allows up to 64 characters only but label allows up
to 256 characters. You see, when we use rename option we can\'t find  the old name of the variable in the contents procedure, but  in case of label we can see the old name & descriptive label name of that particular variable.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
158 Views
Last post February 09, 2012, 05:23:45 AM
by avarofurbin
0 Replies
183 Views
Last post September 17, 2008, 11:56:32 AM
by CyborgRepublic
1 Replies
98 Views
Last post November 08, 2008, 05:57:46 PM
by MrSpecialist
0 Replies
95 Views
Last post July 14, 2016, 05:08:13 AM
by rpmolecule
0 Replies
88 Views
Last post July 21, 2016, 02:09:16 AM
by CyborgRepublic

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.