| Creating Multiple Observations from a Single Record |
| Reading Repeating Blocks of Data |
| Using the Double Trailing At Sign (@@) to Hold the Current Record |
| Normally, each time a DATA step executes, the INPUT statement reads a new record. But when you use the @@, the INPUT statement holds the current record and reads the next value. |
input score; |
|
![]() |
input score @@; |
|
![]() |
| A record held by the double trailing at sign (@@) is not released until |
|
|
||||
|
input ID $4. @@; . . input Department 5.; |
![]() ![]() |
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.