Interview Questions   Tutorials   Discussions   Programs   Videos   

SAS - Identify statements whose placement in the DATA step is critical?




462
views
asked mar September 20, 2014 06:29 AM  

Identify statements whose placement in the DATA step is critical?


           

1 Answers



 
answered By vishnoiprem   0  

1 if restriction_criteria; statement 2 output; statement 3 assignment statments eg if minage < 20 ; minage = min(age); /* This statment should be above IF statment*/

first preference goes to run; next - placement of ; if you use datalines next - use of infile and input next - use of retain and length statements

Keep, Drop and Rename can also play a critical role if you are using some of the variables listed in them.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert