Chapter Contents

Previous

Next
DKROCOND=

DKROCOND=



Controls the level of error detection for output data sets during the processing of DROP=, KEEP=, and RENAME= data set options and the corresponding DATA step statements

Valid in: configuration file, SAS invocation, OPTIONS statement, Systems Options window
Category: Files: SAS files
PROC OPTIONS GROUP= SASFILES


Syntax
Syntax Description
Examples
See Also

Syntax

DKROCOND=ERROR | WARN | WARNING | NOWARN | NOWARNING

Syntax Description

ERROR
sets the error flag and prints error messages if a variable on a KEEP=, DROP=, or RENAME= option or statement does not exist in the data set.

WARN | WARNING
prints warning messages only.

NOWARN | NOWARNING
does not print warning messages.


Examples

In the following statements, if the variable X is not in data set A and DKRICOND=ERROR, SAS sets the error flag to 1 and displays error messages:

data a;
   drop x;
run;

See Also

System Option:
DKRICOND=


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.