Identify statements whose placement in the DATA step is
critical?

Answers were Sorted based on User's Feedback



Identify statements whose placement in the DATA step is critical?..

Answer / amaran

Datalines or Cards - They should be the Last statement in
your Data step. all the ohers can be placed any where
between the Data & Datalines statement.

Is This Answer Correct ?    8 Yes 1 No

Identify statements whose placement in the DATA step is critical?..

Answer / suresh

Input
inifle
run

Is This Answer Correct ?    5 Yes 1 No

Identify statements whose placement in the DATA step is critical?..

Answer / 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

Identify statements whose placement in the DATA step is critical?..

Answer / vsrao

data,run

Is This Answer Correct ?    4 Yes 2 No

Identify statements whose placement in the DATA step is critical?..

Answer / vijay

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

Is This Answer Correct ?    0 Yes 0 No

Identify statements whose placement in the DATA step is critical?..

Answer / raghu

data
input
cards/datalines
run

Is This Answer Correct ?    0 Yes 0 No

Identify statements whose placement in the DATA step is critical?..

Answer / lakshmi

data,run,semicolon

Is This Answer Correct ?    0 Yes 1 No

Identify statements whose placement in the DATA step is critical?..

Answer / meena

Placement of the last six statements (shown below) is critical
because the attributes of variables are determined
by the first reference to the compiler:
drop, keep, rename
label
retain
length
format, informat
attrib
array
by

Is This Answer Correct ?    0 Yes 1 No

Identify statements whose placement in the DATA step is critical?..

Answer / chandra sekar

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

Is This Answer Correct ?    0 Yes 2 No

Identify statements whose placement in the DATA step is critical?..

Answer / sasfaqs

input is the critical step

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More SAS Interview Questions

what is the difference between %put and symbolgen?

6 Answers  


what is the difference btw proc means and proc univariate?

8 Answers   HSBC, TCS,


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

0 Answers  


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

0 Answers   Blue Star,


i have a dataset with 25 obs; 10th obs has like ramu,anji,ramu,azad,ramu like this. i want to know how many times the word repeats in that obs?

3 Answers  


what is sas business intelligence? : Sas-bi

0 Answers  


Can anyone help to find a statement to get all the predefined formats?

3 Answers   Verinon Technology Solutions,


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?

0 Answers   Oracle,


wat is sas? is a package or programming language?

4 Answers  


how to shift the rows to cols? eg: i have like field1 field2 field3 10 20 20 this should be displayed as field1 10 field2 20 field3 30 (without the obs col) how do this?can i use transpose or tell me suitable way to do this?

3 Answers   CMC,


List out some key concept of SAS

0 Answers  


How substr function works in sas?

0 Answers  


Categories