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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

1004


What are the uses of sas?

1166


What is the difference between SAS functions and procedures?

1097


Enlist the syntax rules followed in sas statements.

1029


What are SAS/ACCESS and SAS/CONNECT?

1086


What are the limitations for memory allocation for SAS variables

1425


what is the effect of the options statement errors=1? : Sas programming

1000


how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming

1277


Explain the difference between nodup and nodupkey options?

962


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

966


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

1076


Explain why double trailing @@ is used in input statement?

1008


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

1033


What is the role of unrestrictive users? : sas-grid-administration

953


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

1173