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
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
how are numeric and character missing values represented internally? : Sas programming
What is the difference between proportion and average?
How to limit decimal places for the variable using proc means?
How we can call macros with in data step? : sas-macro
What are the 3 components in sas programming?
What are the data types in sas?
How would you define the end of a macro?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma
why a stop statement is needed for the point= option on a set statement?
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
What system options would you use to help debug a macro? : sas-macro
In sas, what are the areas that you are most interested in? : sas-grid-administration
What is the difference between input and infile statement?