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
Which are the statements whose placement in the data step is critical?
what is snowflake schema? : Sas-di
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
What is the difference between reading data from an external file and reading data from an existing data set?
Mention what are the data types does SAS contain?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
What are the five ways to do a table lookup in sas? : sas-grid-administration
What are the ways to do a “table lookup” in sas?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
name several ways to achieve efficiency in your program? : Sas programming
where are dashboard components are created and maintained? : Sas-bi
How is character variable converted into numeric variable and vice versa?
what are the component of range? : Sas-bi
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
Mention common programming errors committed in sas ?