what is the main difference between rename and label? (don't
say that they both perform the same function).
Answer Posted / salma begum
Rename:
It is used to change the name of the VARIABLE peremanently.
Renaming should be done in a standardized was (start with _ or letter, should not start with special charaters or numbers).
Label:
It temporarily changes the variable name.
it can be written in data step or proc step.
Labelling can be done in unstandardized way (can contain blanks, start with numbers or letters or _) .
Label will not change the actual name of the variable
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of the %include statement?
how does sas handle missing values in procs? : Sas programming
What are the features of base sas system?
How substr function works in sas?
What are the automatic variables for macro? : sas-macro
What are types of transport files?
Explain input and put function?
what do the pad and dim functions do? : Sas programming
How to create a permanent sas data set?
what type of graphs we will create(for 2+years candidates)?
Explain proc univariate?
How do you specify the number of iterations and specific condition within a single do loop?
What are common programming errors committed in sas
Which command is used to perform sorting in sas program?
Explain the use of proc gplot? : sas-grid-administration