Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?



firstobs and obs are working only option wise,but we are using infile statement with firstobs an..

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

Post New Answer

More SAS Interview Questions

what is the use of proc contents and proc print in sas? : Sas-administrator

0 Answers  


How do you use the do loop if you don’t know how many times you should execute the do loop?

0 Answers  


Do you know the features of sas?

0 Answers  


What are the parameters of scan function?

0 Answers  


Why is a STOP statement needed for the point=option on a SET statement?

2 Answers   Quintiles,


how many types of MERGE?

17 Answers   CitiGroup,


differnce between 8.2 and 9.1.3

1 Answers  


what is the difference between infile and input? : Sas-administrator

0 Answers  


Diff between proc sql merge and join?

1 Answers   HSBC, Sristek,


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?

3 Answers  


Explain what is data step?

0 Answers  


wt is a-z and a--z?

3 Answers   Accenture,


Categories