firstobs and obs are working only option wise,but we are
using
infile statement with firstobs and obs in a statement wise?
so
firstobs,obs working at options and statemnts or not?
Answer / kattameedi siva
ex1:
data demo;
set sashelp.class(firstobs=1 obs=6);
run;
ex2:
data demo2;
infile dlm="," dsd firstobs=5;(or) we can use obs=5)
input id name$;
cards;
123,ss
124,sss
125,srrt
123,ss3
124,sss2
125,srrt1
;
run;
| Is This Answer Correct ? | 1 Yes | 0 No |
Name statements that are recognized at compile time only?
What is the size of PDV?
Mention the difference between ceil and floor functions in sas?
WHAT DOES A SAS SPECIFICATION DOCUMENT SDS CONTAIN ?
data abc; input x y ; cards; 1 2 5 6 7 8 7 8 1 7 5 7 ; run; Proc Freq data=abc; tables x*y / chisq nopercent nocol norow PLCORR; RUN; If we run the code, we have Polychoric Correlation = 0.9054 in the last table. I want to extract this particular entry with the value. Means I will create one dataset in which this value will be stored/extracted. I need your help in coding this. Please help me out.
Which is the best place to learn SAS clinicals and Oracle clinical in hyderabad?
How would you determine how far down on a page you have printed in order to print out footnotes?
What is PDV?
which date function advances a date, time or datetime value by a given interval? : Sas programming
How do you add a number to a macro variable?
Are you sensitive to code walk-throughs peer review or QC review?
how would you create multiple observations from a single observation? : Sas programming