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.
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 ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

0 Answers  

what is difference in window SAS & Unix SAS.....how do define working environment in both???

1 Answers   JPMorgan Chase,

1.What is the difference between _NULL_ , _ALL_, and _N_? 2.What are the uses of _NULL_ using in Data Steps? Can we _NULL_ in Proc Steps also? 3.How do call the macro variable in Data Steps? 4.How to construct Pivot tables in Excel Using SAS?

3 Answers  

If you set a label in the data step and call a proc freq on the data, how do you display the data without the labels and just the variables.

1 Answers  

what is the difference between SET and MERGE?

19 Answers   CitiGroup,

%STPbegin;%STPEND; ERROR: No logical assign for filename _WEBOUT. WARNING: No body file. HTML output will not be created. unable to fix it.plz help

2 Answers  

what is the usage for assigning error=1 in a dataset ?

2 Answers   Satyam,

How do you put a giraffe into the refrigerator?

3 Answers   Oracle,

How do you put an elephant in the refrigerator?

6 Answers   Oracle,

Do you think professionally?

1 Answers   Oracle,

How would you include common or reuse code to be processed along with your statements?

5 Answers   PSCI,

How many tiers in sas architecture?

2 Answers