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 is function of retain statment

2079


Explain what is SAS informats?

1132


what is program data vector? : Sas-administrator

1122


what is ae onset date n what is RDS

2655


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

2448


In sas, what are the areas that you are most interested in? : sas-grid-administration

1129


what is SAS OPTIMIZATION?

2350


What are the five ways to do a table lookup in sas? : sas-grid-administration

1115


What is the general format of function in sas? : sas-grid-administration

1028


Tell e how how dealt with..

2310


What is the difference between proportion and average?

3401


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

3086


What are symget and symput? : sas-macro

1366


Describe a time when you were really stuck on a problem and how you solved it?

2678


What is the use of function Proc summary?

1340