/* 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
How does proc sql work?
What are types of transport files?
What can be the size of largest dataset in SAS?
what is data access? : Sas-di
Why double trailing @@ is used in input statement?
is data integration and etl programming is same? : Sas-di
Differentiate between format and informat? : sas-grid-administration
What does PROC print, and PROC contents do?
do you need to know if there are any missing values? : Sas programming
what are sas/access and sas/connect? : Sas programming
How to limit decimal places for the variable using proc means?
Describe 5 ways to do a “table lookup” in SAS?
Mention the category in which sas informats are placed?
In proc transpose and data step with arrays which one you pick?
what are the component of range? : Sas-bi