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
Rhodochrosite | Level 12

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)

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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