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...

What is LOGICAL VARIABLES in SAS.And how it can be used..Can
anyone support..???

Answer Posted / nagaraju

Fitst. and Last. varibles are logical variables and returns
1 & 0 values.
These are mailnly used to give the first and last
occurances from the table.

ex: employee table having (1-100 employees) -- uses

if we give first.empid=1 then it gives only first employee
details
if we give first.empid=0 then it gives remaining employee
details except first one

in the same way

if we give last.empid=1 then it gives last employee details
if we give last.empid=0 then it gives remaining employee
details except last one
hope this is clear

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What makes sas stand out to be the best over other data analytics tools?

1023


What is the SAS data set?

1101


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

2082


Explain the use of proc gplot? : sas-grid-administration

948


What does P-value signify about the statistical data?

1328


Differentiate between ceil and floor functions.

1119


What is slibref?

1223


how does sas handle missing values in formats? : Sas programming

1098


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

1291


Describe the ways in which you can create macro variables? : sas-macro

1033


explain the key concept of sas? : Sas-administrator

955


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

1057


explain the use of % includes a statement in sas? : Sas-administrator

967


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

978


how will you location sas platform applications available from web browser? : Sas-bi

1038