srilatha


{ City } hyderabad
< Country > india
* Profession * microbiologist
User No # 6342
Total Questions Posted # 0
Total Answers Posted # 3

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

Users Marked my Answers as Correct # 29
Users Marked my Answers as Wrong # 4
Questions / { srilatha }
Questions Answers Category Views Company eMail




Answers / { srilatha }

Question { 16022 }

If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?


Answer

by using the views.
ex: proc sql;
create view emp_v
as
select empno,sal,deptno,comm from emp;
quit;

Is This Answer Correct ?    0 Yes 1 No

Question { CitiGroup, 20279 }

how can u create zero observation dataset?


Answer

creating a data set by using the like clause.

ex: proc sql;
create table latha.emp like oracle.emp;
quit;

in this the like clause triggers the existing table
structure to be copied to the new table.using this method
result in the creation of an empty table.

Is This Answer Correct ?    10 Yes 2 No


Question { Parexel, 20986 }

what is the main difference between rename and label? (don't
say that they both perform the same function).


Answer

label : assigns descriptive lables to variables.
lables allows upto 256 characters.
rename : changes the name of the variable.
rename allows upto 64 characters only.

Is This Answer Correct ?    19 Yes 1 No