| Date: | Thu, 16 Mar 2000 13:34:29 +0100 |
| Reply-To: | peter.crawford@DB.COM |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
|
| From: | Peter Crawford <peter.crawford@DB.COM> |
| Subject: | Confused about @, @@ ??? |
|
| Content-type: | text/plain; charset=us-ascii |
|---|
the @ holds the input buffer
when you want to retain the input buffer across iterations of the data step use
@@, for example
data wanted;
input id @@;
cards;
1 3 7 9 11 31 987654321
;
creates 7 observations from one data line
When you use input without the trailing @ or @@ the buffer is marked as finished
with. You can still use PUT _INFILE_ to print the whole input buffer, but the
next input statement will load a new buffer.
Does this help ?
Datum: 16.03.2000 04:58
An: SAS-L@listserv.vt.edu
Antwort an: Peter.Lucas@team.telstra.com
Betreff: Confused about @, @@ ???
Nachrichtentext:
hi,
I've read th help files on these line holder specifiers but I'm still not
sure on the difference and when to use one or the other.
Help Please !!!
Pete
|