what is the main difference between rename and label? (don't
say that they both perform the same function).
Answer Posted / rajaanku11
1. Label is global and rename is local i.e., label statement
can be used either in proc or datastep where as rename
should be used only in datastep.
2.If we rename a variable, old name will be lost but if we
label a variable its short name(old name) exists along with
it's descriptive name.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What is the basic structure of the SAS base program?
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
Give some examples where proc report’s defaults are same as proc print’s defaults?
What are the default statistics for means procedure?
Explain input and put function?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
What does the RUN statement do?
What are the five ways to do a table lookup in sas? : sas-grid-administration
What is substr function?
How we can call macros with in data step? : sas-macro
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
What is SAS?
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
Explain the main difference between the sas procedures and functions? : Sas-administrator