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 makes sas stand out to be the best over other data analytics tools?

1077


Given an unsorted data set, how to read the last observation to a new data set?

1358


How do you use the do loop if you don’t know how many times you should execute the do loop?

1267


What are the special input delimiters used in SAS?

1188


explain what is data set in sas? : Sas-administrator

993


what are the considerations when picking a SAS/STAT procedure?

3381


what is star schema? : Sas-di

1133


How does proc sql work?

1101


Name some categories in sas 9? : sas-grid-administration

979


Can you explain the process of calendar?

1117


Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

2030


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2718


how does sas handle missing values in functions? : Sas programming

1222


What are the statements that are executed only?

1158


What is the difference between one to one merge and match merge? Give an example.

1070