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

How do you read in the variables that you need?

9 Answers   Accenture,


How can sas program be validated?

0 Answers  


Mention the difference between ceil and floor functions in sas?

0 Answers  


how can you import .csv file in to sas? : Sas programming

0 Answers  


What are SAS/ACCESS and SAS/CONNECT?

0 Answers  






What is the significance of the ‘OF’ in X=SUM (OF a1-a4, a6, a9);?

8 Answers  


hi i date is 05sep2005; i want the oupput like 05sep2005:00:00:00 ; how it wil come?

6 Answers   Accenture,


sas implimented companies in hyderabad

11 Answers   CTS, HSBC,


how to delete the duplicates by using proc sql?

3 Answers   Genpact,


what is program data vector? : Sas-administrator

0 Answers  


This entry was posted in General. Bookmark the permalink. Post a comment or leave

0 Answers   Quintiles,


In sas, what are the areas that you are most interested in? : sas-grid-administration

0 Answers  


Categories