/* To determine the maximum and minimum of V1 */

data before3;
input v1 v2 v3;
cards;
3 2 1
4 6 5
2 1 3
6 5 4
1 3 2
5 4 6
;
run;

Answer Posted / alok karan

/* To determine the maximum and minimum of V1 */




data before3;
 input v1 v2 v3;
 cards;
   3     2    1
   4     6    5
   2     1    3
   6     5    4
   1     3    2
   5     4    6
 ;
run;
proc sql;
select max(v1)as maximum , min(v1) as minimum
from before3;
quit;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum length of the macro variable? : sas-macro

627


What is a macro routine?

2106


which features do you use to check the data validations and errors? : Sas-administrator

554


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

686


To what type of programms have you used scratch macros?

2146






I need level 2 to 5 sas using companies in india

1932


how do you want missing values handled? : Sas programming

536


For what purposes have you used sas macros? : sas-macro

540


What is the SAS data set?

679


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

642


explain the concepts and capabilities of business object? : Sas-bi

545


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

560


Describe crosslist option in tables statement?

715


Differentiate between proc means and proc summary.

606


What are the different types of sas functions?

611