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

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

1022


Give some ways by which you can define the variables to produce the summary report (using proc report)?

1093


What is the difference between reading data from an external file and reading data from an existing data set?

1182


Are you sensitive to code walk-throughs peer review or QC review?

3145


What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro

1041


Have you used macros? For what purpose you have used? : sas-macro

1043


For what purpose would you use the RETAIN statement?

1524


What are the differences between proc means and proc summary?

1145


what are input dataset and output dataset options? : Sas programming

1106


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

2413


Differentiate between format and informat? : sas-grid-administration

1065


what can you learn from the sas log when debugging? : Sas programming

1090


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1494


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

1165


what is the difference between unique key and primary key? : Sas-di

1133