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 |
what is the use of proc contents and proc print in sas? : Sas-administrator
How do you use the do loop if you don’t know how many times you should execute the do loop?
Do you know the features of sas?
What are the parameters of scan function?
Why is a STOP statement needed for the point=option on a SET statement?
how many types of MERGE?
differnce between 8.2 and 9.1.3
what is the difference between infile and input? : Sas-administrator
Diff between proc sql merge and join?
data jagan1.s; input bp$; cards; 100/90 120/89 112/87 run; in the above code how to convert character data values to numeric data values?
Explain what is data step?
wt is a-z and a--z?