SAS System Options |
Valid in: | configuration file, SAS invocation, OPTIONS statement, SAS System Options window |
Category: | Files: SAS Files |
PROC OPTIONS GROUP= | SASFILES |
Syntax | |
Syntax Description | |
Details |
Syntax |
DATASTMTCHK=COREKEYWORDS | ALLKEYWORDS | NONE |
prohibits certain words as one-level SAS data set names in the DATA statement. They can appear as two-level names. The following keywords cannot appear as one-level SAS data set names:
prohibits any keyword that can begin a statement in the DATA step (for example, ABORT, ARRAY, INFILE) as a one-level data set name in the DATA statement.
Details |
If you omit a semicolon in the DATA statement, you can overwrite an input data set if the next statement is SET, MERGE, or UPDATE. Different, but significant, problems arise when the next statement is RETAIN. DATASTMTCHK= enables you to protect yourself against overwriting the input data set.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.