Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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

1078


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

1041


what do the pad and dim functions do? : Sas programming

1078


what is sas data set?

1152


Compare sas with other data analytics tools.

1099


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

1434


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1931


what versions of sas have you used (on which platforms)? : Sas programming

1134


what is treatment emergent events and treatment emregent adverse event

2454


what is broad cast agent? : Sas-bi

1121


What are the functions which are used for character handling functions?

1194


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2516


what is program data vector? : Sas-administrator

1126


Describe the function and untility of the most difficult SAS macro that you have written.

2280


Give an example where SAS fails to convert character value to numeric value automatically?

1135