BookmarkSubscribeRSS Feed
tianerhu
Pyrite | Level 9

tianerhu_0-1615343336507.png

Could you tell me what the five @s mean  ?  Thank you .

4 REPLIES 4
WarrenKuhfeld
Ammonite | Level 13

Hold the input data line for the next INPUT statement within that pass through the DATA step.

tianerhu
Pyrite | Level 9

Thank you for your help.

japelin
Rhodochrosite | Level 12

Read the logs.
It's in a post a while back.

 

it's here.

 

 

ballardw
Super User

@ and a number means "read at column <that number>"

@"some text"   means "read from the column immediately after the text in the quotes if it is on the current line"

@ at the end of an input statement is the same as in https://communities.sas.com/t5/SAS-Programming/what-does-the-mean-in-the-input-statement/m-p/724747

 

https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=lestmtsref&docsetTarget=n...  has the documentation on various ways to specify which column to read from

 

Read the documentation for LIST , FORMATTED and NAMED input as well since these can be mixed on a single INPUT statement (with some limits)

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1083 views
  • 0 likes
  • 4 in conversation