![]() Chapter Contents |
![]() Previous |
![]() Next |
| SPOOL |
| Valid in: | configuration file, SAS invocation, OPTIONS statement, Systems Options window |
| Category: | Input control: Data processing |
| PROC OPTIONS GROUP= | INPUTCONTROL |
| Syntax | |
| Syntax Description | |
| Examples |
Syntax |
| SPOOL | NOSPOOL |
| Examples |
Specifying SPOOL is especially helpful in interactive line mode because you can resubmit a line or lines of code by referring to the line numbers. Here is an example of code including line numbers:
00001 data test; 00002 input w x y z; 00003 datalines; 00004 411.365 101.945 323.782 512.398 00005 ;
If SPOOL is in effect, you can resubmit line number 1 by submitting this statement:
%inc 1;
You also can resubmit a range of lines by placing a colon (:) or dash (-) between the line numbers. For example, these statements resubmit lines 1 through 3 and 4 through 5 of the above example:
%inc 1:3; %inc 4-5;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.