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 and How would you use them?

Answer Posted / dupe bassey

If a variable doesnt have a single trailing @ with an input
statement, when sas encounters another input statement
after the first one,it would load a new record, this action
will result in some obeservations not been outputed and
missing data. To avoid this, a single trailing @ is used to
hold the record , so that when it encounters another input
statements within the datastep a new record is not loaded,
It bassically tells sas to use the data just placed in the
input buffer for the next input statement .
the single trailing @ is release when an input statement
without a trailing @ is encountered.



`input zz$ status @@' tells SAS to read two words at a
time from the input buffer to the pdv without discarding
the rest of the line.Without the trailing @@, SAS would
read the first two words from input buffer and ignore the
rest of the line. This would result in reading less records

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a put statement?

1273


what do you mean by data staging area? : Sas-di

1194


What is the maximum length of the macro variable? : sas-macro

1155


AE datasets names? how many types?

2559


Explain proc sort?

1176


Are you involved in writing the inferential analysis plan? Tables specfications?

2595


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

1074


What is connection profile? : sas-grid-administration

1232


explain the difference between proc means and proc summary?

1184


What commands are used in the case of including or excluding any specific variables in the data set?

1145


Give some examples where proc report’s defaults are different than proc print’s defaults?

1134


how can you create zero observation dataset? : Sas programming

1202


what is the difference between floor and ceil functions in sas? : Sas-administrator

1314


what can you learn from the sas log when debugging? : Sas programming

1143


How does the internal authentication work in sas? : sas-grid-administration

1170