What is the purpose of the trailing @? The @@? How would you
use them?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / giri
both @AND @@ TAILARING used for the hold the
datalines,difference is how long they hold the data in the
complilation process,@ hold the the data till the end of
the line,but it release the dataline when it reach the end
of the line, but @@ holds the datalines untill the end of
the process
| Is This Answer Correct ? | 31 Yes | 9 No |
Answer / srinu
both @AND @@ TAILARING used for the hold the
datalines,difference is how long they hold the data in the
complilation process,@ hold the the data till the end of
the line,but it release the dataline when it reach the end
of the line, but @@ holds the datalines untill the end of
the process
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / no name is require
@-is used to reading part of a rawdata file we using traling @
@@-is used to reading multiple observations of rawdata
| Is This Answer Correct ? | 8 Yes | 4 No |
Answer / vikas pherwani
@ is a column pointer holds the input record for the
execution of the next input statement
@@ if we have two relevant obs in same line we need to hold
that too we need double trailing either after taking first
value sas move to another line leaving the first.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sumalatha.ch
@it holds the record at the end of the input statement or
when the next input will come it will read the data. and
@ is also pointer controll .if we want to read particular
character in a data set then we can use this @
@@ it is used for reading single line multiple
observations.
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / sunil
The trailing at sign (@) holds the input record for the
execution of the next INPUT statement.
The double trailing at sign (@@) holds the input record for
the execution of the next INPUT statement, even across
iterations of the DATA step.
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / raj
@:Hold an input record for the execution of the next input statement with in the same iteration of the data step.
use:The trailing @ must be the last item in the INPUT statement.
@@:Holds an input record for the execution of the next input statement across iteration of the data step.
Uses:The double trailing @ must be the last item in the INPUT statement.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / chiranjeevi
These are those which works on the variable level by
default.It should appear and besides the variables in
sas.The columnpointers are
1)@
2)@@
@:the '@'is a column pointer which commands SAS to hold the
line strongly.The '@' is if it used,it is trailing of '@'
pointer.It reads only the first line across the available
variables data.
@@:It is used for the entire data from the external source
or internal by reading into a single variable.
| Is This Answer Correct ? | 2 Yes | 6 No |
Answer / santhi swaroop
@ is the pointer input that will hold the point at a
specific point variables inthe data
@@ is the on that may be useful to read the singleline of
raw data into multiple observations of the sas data set.
syn
data santhi;
infile path;
input var 1 2 3 4 @@;
run;
| Is This Answer Correct ? | 4 Yes | 12 No |
what is validvarname and varnum? why we are using this options; explain with a syntax for this options?
Which is the best place to learn SAS clinicals and Oracle clinical in hyderabad?
What does P-value signify about the statistical data?
What was the last computer book you purchased? Why?
in data set200 observation how to take 110,150,170 using sql procedure?
What do you feel about hardcoding?
1.How many ways are there to create variables? 2.What is CLM,how can we use it? 3.what are the advontages of data step? 4.what is the extension of editor window in SAS 9.1.3? 5.How do you copy a particular data set from one library to another? 6.what is the use of double option? 7.Advontages of Proc Report? 8.what is the basic use of where statement? 9.How do you terminate the statments in SAS Programming? 10.What is the difference between symput and symget? 11.How would a identify the local and global variable? can any one answer for the 4'th question
why is sas considered self-documenting? : Sas programming
What is slibref?
What do you understand by the term Normal Distribution?
How would you define the end of a macro? : sas-macro
What are the statements that are executed only?