ganga raju


{ City } chennai
< Country > india
* Profession * sas programmer
User No # 8476
Total Questions Posted # 0
Total Answers Posted # 8

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 367
Users Marked my Answers as Wrong # 164
Questions / { ganga raju }
Questions Answers Category Views Company eMail




Answers / { ganga raju }

Question { 10225 }

How would you code a macro statement to produce information
on the SAS log? This statement can be coded anywhere.


Answer

%put ;

use the above statement any where in macro programe to
write some information on to the log. With in the text you
can also call/reference the macto variables.

Is This Answer Correct ?    4 Yes 1 No

Question { 8767 }

wat is sas? is a package or programming language?


Answer

SAS is an analysis software which independent.
Sas is package (or) collection of tools which is a domain
based softwares.

Is This Answer Correct ?    2 Yes 0 No


Question { CitiGroup, 12445 }

how do we get duplicate observations in a separate dataset?


Answer

First sort them in descending order and then using first.var
separate all the first observations into a new dataset and
the remaining into another. So unique observations from each
group
will come into one dataset and the other duplicate
observations will enter into another dataset.

Is This Answer Correct ?    2 Yes 1 No

Question { CitiGroup, 12445 }

how do we get duplicate observations in a separate dataset?


Answer

proc sql;
create table dup_obs as (
select * from .
group by ,
having count(*)>1 )
quit;

Is This Answer Correct ?    4 Yes 3 No

Question { Infosys, 138958 }

what is the difference between compiler and interpreter?
give any one example (software product) that act as a
interpreter?


Answer

1.Compiler checks syntax of programme where as Interpreter
checks the keywords of a prog.

2. compiler checks at a time all the prog, But interpreter
checks simultaneously in the eidtor.

3.Interpretor provides colour coding to the prog and helps
in self debugging while writing a prog.

Is This Answer Correct ?    342 Yes 152 No

Question { 22187 }

what is the difference between %put and symbolgen?


Answer

%put is used to display user defined messages on log window
after execution of a prog where as

%symbolgen is used to print the value of a macro variable
resolved, on log window

Is This Answer Correct ?    5 Yes 3 No

Question { Accenture, 15557 }

what is sas? is a package or tool? give me introduction
about sas?


Answer

sas is a package or colletion of products or tolls with
domain based functional software.

It is not a database.
sas is a statistical software
sas is a datawarehousing software
sas is a analysis and reporting software.

Is This Answer Correct ?    6 Yes 0 No

Question { Verinon Technology Solutions, 7864 }

DATA ABC;
INPUT TDATE DATE9. AVG;
CARDS;
18APR2008 150.00
19APR2008 167.00
20APR2008 123.00
21APR2008 145.00
;
RUN

HOW CAN I FIND THE DIFFERENCE BETWEEN AVG OF 18APR2008 ANF
21APR2008??

IF ANY ONE GETS IT PLS TRY TO POST IT.


Answer

DATA ABC;
INPUT TDATE DATE9. AVG;
CARDS;
18APR2008 150.00
19APR2008 167.00
20APR2008 123.00
21APR2008 145.00
;
RUN;

data _null_;
set abc;
if tdate='18APR2008'D then
call symput('x',avg);
if tdate='21APR2008'D then
call symput('y',avg);
z=&x-&y;
run;

data _null_;
z=&x-&y;
put 'the difference='z;
run;

Is This Answer Correct ?    2 Yes 4 No