Data Set Options under Windows |
Valid in: | DATA steps and PROC steps |
Syntax | |
Details | |
Comparisons | |
Examples | |
Example 1: SGIO Option | |
Example 2: SGIO Option |
Syntax |
SGIO= YES| NO |
specifies that SAS activate the scatter-read / gather-write feature for a SAS data set. The scatter-read / gather-write feature remains active until your SAS session ends.
specifies that SAS not activate the scatter-read/gather-write feature for the SAS data set.
Details |
You can specify the SGIO data set option for any SAS I/O file that is referenced within your SAS code. If you want most of your SAS I/O to be processed with SGIO, then specify the SGIO system option and disable SGIO (SGIO=no) for those data sets for which you do not want SGIO to be active.
Comparisons |
The SGIO data set option specifies that SAS process the data set by using SGIO. The SGIO system option specifies that all data sets are processed by using SGIO.
Examples |
You can specify the SGIO data set option for any SAS I/O file that is referenced in a SAS job. This example is a simple case for the DATA step:
data mike(sgio=yes); input x y z; datalines; 1 2 3 run;
The following example is more complex:
data master(sgio=yes) merge daily1(sgio=yes) daily2(sgio=no) daily3(sgio=yes) ... more SAS statements ... run;
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.