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 SAS log messages "numeric values have been converted to character" mean?

1327


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1552


what has been your most common programming mistake? : Sas programming

1030


Why and when do you use proc sql?

1181


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

944


How do you test for missing values?

1565


How we can create SAS USER DEFINED CODE?

2029


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

953


explain what is factor analysis? : Sas-administrator

1043


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1415


Tell e how how dealt with..

2169


What are the different versions of sas that you have used until now? : sas-grid-administration

1273


how do you want missing values handled? : Sas programming

898


State the difference between INFORMAT and FORMAT ?

1039


what is metadata? : Sas-bi

968