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
Which command is used to save logs in the external file?
Mention what are the data types does SAS contain?
what are the component of range? : Sas-bi
What is the difference between %local and %global? : sas-macro
explain the difference between proc means and proc summary?
How to sort in descending order?
In proc transpose and data step with arrays which one you pick?
how do the in= variables improve the capability of a merge? : Sas programming
How many data types are there in SAS?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
What is the difference between using drop = data set option in data statement and set statement?
How to limit decimal places for variable using proc means?
describe the interaction table in sas di? : Sas-di
what versions of sas have you used (on which platforms)? : Sas programming
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??