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

Tell me more about the parameters in macro? : sas-macro

1054


Give e an example of..

2346


How can sas program be validated?

1041


Give e an example of..

2105


Where do you use proc means over proc freq?

1124


Mention how to limit decimal places for the variable using proc means?

1125


what is hierarchy flattening? : Sas-di

1083


what is sas database server? : Sas-di

1140


What are the difficulties u faced while doing vital signs table or dataset?

2397


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

1074


What is a put statement?

1209


what is change analysis in sas di ? : Sas-di

1062


Which date function advances a date, time or datetime value by a given interval?

1158


How do you delete duplicate observations in sas?

1078


how do you pull data from equifax?tell me the process?

1807