/* 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

How does proc sql work?

613


What are types of transport files?

6851


What can be the size of largest dataset in SAS?

715


what is data access? : Sas-di

605


Why double trailing @@ is used in input statement?

702






is data integration and etl programming is same? : Sas-di

575


Differentiate between format and informat? : sas-grid-administration

577


What does PROC print, and PROC contents do?

727


do you need to know if there are any missing values? : Sas programming

544


what are sas/access and sas/connect? : Sas programming

546


How to limit decimal places for the variable using proc means?

601


Describe 5 ways to do a “table lookup” in SAS?

701


Mention the category in which sas informats are placed?

624


In proc transpose and data step with arrays which one you pick?

2574


what are the component of range? : Sas-bi

616