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

How to create a permanent sas data set?

1137


If money were no object, what would you like to do?

3129


what versions of sas have you used (on which platforms)? : Sas programming

1003


how many display types available in sas bi dashboard? : Sas-bi

1032


Which function is used to count the number of intervals between two sas dates?

1066


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

2354


What does proc print, and proc contents are used for?

1059


is data integration and etl programming is same? : Sas-di

1008


What is SAS informats?

1055


What is proc sort?

1134


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

1019


how the sas basic syntax style described? : Sas-administrator

967


What is the difference between class statement and by statement in proc means?

1193


Are you sensitive to code walk-throughs peer review or QC review?

3093


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1699