/* 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
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What are the different operating system platforms in which we can use sas? : sas-grid-administration
What Proc glm does?
Describe the function and untility of the most difficult SAS macro that you have written.
how to generate the test data in sas without input data? : Sas-administrator
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
What areas of SAS are you most interested in?
What is the good sas programming practices for processing large data sets?
Name any two sas spawners? : sas-grid-administration
Difference between nodup and nodupkey options?
How long can a macro variable be? A token? : sas-macro
What are the default statistics for means procedure?
for whom is sas data integration studio designed? : Sas-di
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
What is connection profile? : sas-grid-administration