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

: and & modifiers.

1384


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

1090


What is the difference between nodupkey and nodup options?

1033


What is substr function?

1180


what is the function of catx syntax? : Sas-administrator

1097


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

2175


How will you generate test data with no input data?

1165


How would you define the end of a macro?

1087


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

1037


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2791


Mention the difference between ceil and floor functions in sas?

1144


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2455


Explain what Proc glm does?

1205


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

1248


What do you know about symput and symget?

1223