ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Data Warehouse  >>  SAS
 
 


 

 
 Teradata interview questions  Teradata Interview Questions
 Business Objects interview questions  Business Objects Interview Questions
 Cognos interview questions  Cognos Interview Questions
 Informatica interview questions  Informatica Interview Questions
 Crystal Enterprise Suite interview questions  Crystal Enterprise Suite Interview Questions
 Actuate interview questions  Actuate Interview Questions
 Ab Initio interview questions  Ab Initio Interview Questions
 Data Stage interview questions  Data Stage Interview Questions
 SAS interview questions  SAS Interview Questions
 Micro Strategy interview questions  Micro Strategy Interview Questions
 ETL interview questions  ETL Interview Questions
 Data Warehouse General interview questions  Data Warehouse General Interview Questions
Question
What is the purpose of the trailing @? The @@? How would you
use them?
 Question Submitted By :: Jaipal Reddy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the purpose of the trailing @? The @@? How would you use them?
Answer
# 1
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 ?    2 Yes 0 No
Giri
 
  Re: What is the purpose of the trailing @? The @@? How would you use them?
Answer
# 2
@@ 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 ?    3 Yes 0 No
Imran Syed
 
 
 
  Re: What is the purpose of the trailing @? The @@? How would you use them?
Answer
# 3
@ 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 ?    0 Yes 0 No
Santhi Swaroop
 
  Re: What is the purpose of the trailing @? The @@? How would you use them?
Answer
# 4
@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 ?    0 Yes 0 No
Sumalatha.ch
 
  Re: What is the purpose of the trailing @? The @@? How would you use them?
Answer
# 5
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 ?    0 Yes 0 No
Chiranjeevi
 
  Re: What is the purpose of the trailing @? The @@? How would you use them?
Answer
# 6
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 ?    0 Yes 0 No
Srinu
 
  Re: What is the purpose of the trailing @? The @@? How would you use them?
Answer
# 7
@-is used to reading part of a rawdata file we using traling @
@@-is used to reading multiple observations of rawdata
 
Is This Answer Correct ?    0 Yes 0 No
No Name Is Require
 

 
 
 
Other SAS Interview Questions
 
  Question Asked @ Answers
 
If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record? Accenture2
is there any difference between proc summary and proc means?  2
what is the difference between SET and MERGE? CitiGroup10
How would you code a merge that will keep only the observations that have matches from both sets?  4
tell me about intnx, intcx functions? CitiGroup2
How do you generate random samples?  4
Describe how you would pass data to macro.  3
describe about joins? briefly? CitiGroup2
What are the criticality that you have faced during your project in SAS?  2
If i doest required Cumilative frequency in my table, generated by using PROC FREQ what i had to do? HCL4
my problem is to export my report to xsl.i can do that.but the problem is my report has 3 headings first heading should be printed with the merging of (1-5)cells and heading 2 should be of merge(2-4)cells?how to do this condition? Oracle1
What is LAG function?How is it used? can any one explain Verinon-Technology-Solutions2
Under what circumstances would you code a SELECT construct instead of IF statements?  3
If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?  14
what is the need of INDEX in datasets? CitiGroup3
Can anyone help to find a statement to get all the predefined formats? Verinon-Technology-Solutions3
what is fact table and factless table?  1
How could you generate test data with no input data?  4
Code a PROC MEANS that shows both summed and averaged output of the data.  1
what are input dataset and output dataset options? HCL5
 
For more SAS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com