SAS Component Language Dictionary |
Clears the value from variables whose values match a specified
value
Category: |
Control or Field
|
CALL CLRFLD(pattern,variable-1<, . . . ,variable-10>);
|
-
pattern
-
is the character string to match.
Type: Character
-
variable-1, . . . ,
variable-10
-
names up to ten character variables. If
the value of a variable in this list matches pattern,
then that value is cleared.
Type: Character
Variables in the variable list whose values do not match pattern exactly are not changed. No error
occurs if there are
no matches.
Clear the value of any variable in the group SYM1 through
SYM5 whose value is BLUE:
call clrfld('blue',sym1,sym2,sym3,sym4,sym5);
SETFLD
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.