DATA Step, Macro, Functions and more

Understanding base sas

Reply
Occasional Contributor
Posts: 5

Understanding base sas

Hi,

 

Is there any difference between @ and @@.

 

 

thanks,

Srinidhi

Super User
Super User
Posts: 7,392

Re: Understanding base sas

Yes.  Where are you using it?  If its reading in a file then @ specifies what column to read from, @@ holds the pointer over to the next line.  You may want to read up on data infile statements in the manual to understand where and when these are to be used.

Super Contributor
Posts: 394

Re: Understanding base sas

The documentation for the INPUT statement has a good description of both options.

Ask a Question
Discussion stats
  • 2 replies
  • 183 views
  • 0 likes
  • 3 in conversation