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

Answer Posted / nandu

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 then
output ;
run;

Is This Answer Correct ?    4 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

725


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

1347


Are you involved in writing the inferential analysis plan? Tables specfications?

2110


Give some examples where proc report’s defaults are different than proc print’s defaults?

596


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

628






how sas deals with business intelligence? : Sas-bi

584


What is the difference between %put and symbolgen? : sas-macro

669


To what type of programms have you used scratch macros?

2140


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1661


What is connection profile? : sas-grid-administration

644


Of all your work, where have you been the most successful?

4199


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?

1686


Tell e how how dealt with..

1757


What are the best sas programming practices for handling very large datasets? : sas-grid-administration

564


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

1766