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 do the mod and int function do? : Sas programming

1310


How to create list output for cross-tabulations in proc freq?

1154


What does P-value signify about the statistical data?

1404


explain the difference between proc means and proc summary?

1184


which features do you use to check the data validations and errors? : Sas-administrator

1098


What do you code to create a macro? : sas-macro

1193


explain the key concept of sas? : Sas-administrator

1054


How can you create a macro variable with in data step? : sas-macro

1092


What is by-group processing?

1058


What is the purpose of trailing @ and @@? How do you use them?

1093


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

1079


how can you create zero observation dataset? : Sas programming

1203


What is the use of the %include statement?

1217


how to do user inputs and command line arguments in sas?

3095


Explain data_null_?

1111