Chapter Contents

Previous

Next
DKRICOND=

DKRICOND=



Controls the level of error detection for input data sets during processing of DROP=, KEEP=, and RENAME= data set options

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

DKRICOND=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= data set 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 B and DKRICOND=ERROR, SAS sets the error flag to 1 and displays error messages:

data a;
   set b(drop=x);
run;

See Also

System Option:
DKROCOND=


Chapter Contents

Previous

Next

Top of Page

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