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 the purpose of the trailing @? The @@? How would you
use them?

Answer Posted / imran syed

@@ is used when we have multiple observations per line of
raw data. It is used at the end of the INPUT statement. It
tells SAS to hold that line of data and continue to read
observations until it either runs out of data or reaches an
INPUT statement that does not end with a double trailing @.
When we use @ only without specifying n, SAS will hold that
line of data until it reaches either the end of the DATA
step or an INPUT statement that does not end with a trailing @.

Both are line-hold specifiers; the difference is how long
they hold a line of data for input. The trailing @ holds a
line of data for subsequent INPUT statements, but releases
that line of data when SAS returns to the top of the DATA
step to begin building the next observation. The double
trailing @ holds a line of data for subsequent INPUT
statements even when SAS starts building a new observation.
In both cases, the line of data is released if SAS reaches a
subsequent INPUT statement that does not contain a line-hold
specifier.

Is This Answer Correct ?    59 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about sas data set?

1022


describe how to adjust the performance of data integrator? : Sas-di

945


how sas deals with business intelligence? : Sas-bi

998


For what purpose would you use the RETAIN statement?

1464


How to read an input file in sas?

1092


Explain substr function?

1030


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

2481


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

1099


what are some differences between proc summary and proc means? : Sas programming

1042


What’s the difference between var b1 – b3 and var b1 — b3?

1278


how does sas handle missing values in assignment statements? : Sas programming

969


explain what is data set in sas? : Sas-administrator

911


what is the difference between unique key and primary key? : Sas-di

1058


Explain by-group processing?

948


What is maximum number of rows and cols can be handled in SAS?

1472