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
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
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
What does the RUN statement do?
What is the difference between one to one merge and match merge? Give an example.
how do the in= variables improve the capability of a merge? : Sas programming
describe about physical data integration? : Sas-di
What are the special input delimiters used in SAS?
How substr function works in sas?
How do dates work in SAS data?
what is program data vector? : Sas-administrator
Explain what is SAS informats?
What is the difference between the proc sql and data step?
how to read the variables in sas? : Sas-administrator
What are pdv and it functions?
how sas deals with business intelligence? : Sas-bi