Summary
Column-Pointer Controls
@ n
moves the pointer to
the n column in the input buffer.
+n
moves the pointer forward n columns
in the input buffer.
/
moves the pointer to
the next line in the input buffer.
#n
moves the pointer to
the nth line in the input buffer.
Line-Hold Specifiers
@
(trailing @) prevents
SAS from automatically reading a new data record into the input buffer
when a new INPUT statement is executed within the same iteration of
the DATA step. When used, the trailing @ must be the last item in
the INPUT statement.
@@
(double trailing @) prevents SAS from automatically reading a new data record into the input buffer when the next INPUT statement is executed, even if the DATA step returns to the top ...
Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.