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
Explain by-group processing?
explain the key concept of sas? : Sas-administrator
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 does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
how can you import .csv file in to sas? : Sas programming
What do the put and input function do?
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
what is the use of proc sql? : Sas programming
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
what is hash files in sas and why we are using this one in sas?
what is broad cast agent? : Sas-bi
what is program data vector? : Sas-administrator
which features do you use to check the data validations and errors? : Sas-administrator
In sas, what are the areas that you are most interested in? : sas-grid-administration