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

proc means data=befor3 max min;
var v1;
run;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

606


how to debug and test the sas program? : Sas-administrator

574


What is the function of output statement in a SAS Program?

619


what is ae onset date n what is RDS

1939


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

2579






what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

1920


If a variable contains letters or special characters, can it be numeric data type?

766


List down the reasons for choosing sas over other data analytics tools.

815


How would you define the end of a macro? : sas-macro

612


What do the SAS log messages "numeric values have been converted to character" mean?

892


how the sas basic syntax style described? : Sas-administrator

608


what is function of retain statment

1528


describe the interaction table in sas di? : Sas-di

597


How to specify variables to be processed by the freq procedure?

620


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

634