/* 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
Can you execute macro within another macro? : sas-macro
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
If a variable contains only numbers, can it be a character data type?
How can I remove header from output data set?
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
how can you import .csv file in to sas? : Sas programming
What is the difference between one to one merge and match merge? Give an example.
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
Describe 5 ways to do a “table lookup” in SAS?
Tell me about % include and % eval? : sas-macro
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?
What is run-group processing?
Mention what is PROC in SAS?
How to specify variables to be processed by the freq procedure?