How would you code the criteria to restrict the output to be
produced?
Answer Posted / jothi sankar
--> Using VAR can restrict which varibles have to be output
--> Using differnt data sets for each main condition
Eg:
DATA
MyData2
MyData3
MyData4
;
SET MyData1;
if Dept = 'Computer' OUT MyData2;
else if Dept = 'Electronic' OUT MyData3;
else if Dept = 'Chemical' OUT MyData4;
RUN;
--> Using PRINTEM for viewing datas individually
Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What is the difference between SAS functions and procedures?
What is run-group processing?
Explain by-group processing?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
How to convert a numeric variable to a character variable?
what is program data vector? : Sas-administrator
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
What is the basic structure of a sas program?
what is the use of proc sql? : Sas programming
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 are the different operating system platforms in which we can use sas? : sas-grid-administration
how would you determine the number of missing or nonmissing values in computations? : Sas programming
explain the use of % includes a statement in sas? : Sas-administrator
what is operational data and operational system? : Sas-di
What is your favorite all time computer book? Why?