Identify statements whose placement in the DATA step is
critical?
Answer Posted / pratik singh jageera
The placement of drop keep and rename statement does not affect its execution order.The order is fixed in the order
DROP-KEEP-RENAME.Even if you put a rename statement(rename old_var=new_var;) before a drop statement.The drop statement will look for old_var as it is executed prior to rename statement.
Length can be the answer as its placement is very important.Changing the length value of a variable after the set statement will not carry out the necessary change.It has to be done before set statement.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
describe the interaction table in sas di? : Sas-di
what is hierarchy flattening? : Sas-di
Name validation tools used in SAS
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
What is SAS? What are the functions does it performs?
What are the difference between the sas data step and sas procs?
Describe what are the different levels of administrative users in sas? : sas-grid-administration
What is the basic syntax style in SAS?
What is interleaving in SAS?
What is PDV?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
how does sas handle missing values in functions? : Sas programming
How do you connect the desktop application to metadata server? : sas-grid-administration
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?
How is character variable converted into numeric variable and vice versa?