/* 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 are symget and symput? : sas-macro

977


What is a put statement?

915


Can you suggest us materials for sdtm mapping?

4236


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

718


Explain the special input delimiters used in sas programming.

761


Why double trailing @@ is used in input statement?

922


why is sas considered self-documenting? : Sas programming

856


What are the ways in which macro variables can be created in sas programming?

773


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1877


What is run-group processing?

855


What are the uses of sas?

897


how can you import .csv file in to sas? : Sas programming

830


I need level 2 to 5 sas using companies in india

2128


Which command is used to perform sorting in sas program?

781


Explain the use of proc print and proc contents?

724