What's the difference between VAR A1 - A4 and VAR A1 - A4?



What's the difference between VAR A1 - A4 and VAR A1 - A4?..

Answer / viditmalhotra89

I guess you mean: difference between Var A1-A4 & Var A1--A4!
A1-A4: assumes the variable names as A1,A2,A3,A4 sequentially.
whereas,
A1--A4 : writes all the variables of the data set which are between the variables: A1 & A4,
eg: it can be name,Id etc.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More SAS Interview Questions

is there any differnce between proc means and proc summary?

5 Answers  


Explain the message 'Merge has one or more datasets with repeats of by variables'.

5 Answers  


What’s the difference between var b1 – b3 and var b1 — b3?

0 Answers  


what is sas? is a package or tool? give me introduction about sas?

11 Answers   Accenture,


Hi, I have one dataset, could you please ans for this. id amount paid_amount 1 700 400 2 900 250 3 300 300 a 400 250 b 500 320 c 800 650 x 200 190 y 900 250 z 300 180 i want create new dataset having id and paid_amount who are paid high amount comparing amount. ex: 1d paid_amount 3 300 c 650 x 190

3 Answers  






How do you add a number to a macro variable?

2 Answers  


How to sort in descending order?

0 Answers  


how to extract data from SAP servers? Is like oracle servers or any other methods to extract please reply me.

1 Answers  


how to write code for left outer join in SAs using datastep?

8 Answers   CitiGroup,


what are scrubing procedures in SAS?

1 Answers   Oracle,


What do you feel about hardcoding?

1 Answers  


is it possible to generate sas datasets using proc print ???

1 Answers   GSK GlaxoSmithKline,


Categories