Excludes
SAS files from copying.
Restriction: |
Must follow a COPY statement
|
Restriction: |
Cannot appear in the same COPY step with
a SELECT statement
|
Featured in: |
Manipulating SAS Files
|
EXCLUDE SAS-file-1 <...SAS-file-n> </ MEMTYPE=mtype>;
|
- SAS-file-1 <...SAS-file-n>
-
specifies one or more SAS files to exclude from the copy
operation. All SAS files you name in the EXCLUDE statement must be in the
library that is specified in the IN= option in the COPY statement. If the
SAS files are generation groups, the EXCLUDE statement allows only selection
of the base versions.
- MEMTYPE=mtype
-
restricts processing to one member type. You can use the
option either in parentheses after the name of each SAS file or after a forward
slash.
Aliases: |
MTYPE=, MT= |
Default: |
If you do not specify MEMTYPE= in the
PROC DATASETS statement, the COPY statement, or in the EXCLUDE statement,
the default is MEMTYPE=ALL. |
See also: |
|
You can use shortcuts for listing many SAS files in the EXCLUDE statement.
For more information, see Shortcuts for Specifying Lists of Variable Names.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.