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...

what is prime numbers? how we can get plc write sas code?

Answer Posted / nandu

A small correction in the above one.

Data samp;
input number1 @@;
cards;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
;
run;
data samp2;
set samp;
number2=number1 ;
if mod(number1,1) eq 0 and mod(number1,number2) eq 0
and (mod(number1,2) ne 0 and mod(number1,3) ne 0 and mod(number1,5) ne 0 and mod(number1,7) ne 0 and mod(number1,9) ne 0) then output ;
run;

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is data access? : Sas-di

1078


AE datasets names? how many types?

2443


how many types of prompts are there? : Sas-bi

1032


Explain bmdp procedure?

983


Explain by-group processing?

947


what are validation tools that are used in sas? : Sas-administrator

1000


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2315


what are several options for creating reports in web report studio? : Sas-bi

1076


why is a stop statement needed for the point=option on a set statement? : Sas programming

1037


What is interleaving in SAS?

1062


Do you know the features of sas?

993


How substr function works in sas?

1154


Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

1627


what is the primary data source for the wrs? : Sas-bi

1135


How we can create SAS USER DEFINED CODE?

2028