Chapter Contents |
Previous |
Next |
BYKEY |
Optional statement | |
Applies to: | access descriptor and view descriptor |
Syntax | |
Details |
Syntax |
BYKEY
variable-identifier<=> YES|NO
<...variable-identifier-n<=> YES|NO>; |
Details |
The BYKEY statement designates one or more items as BY keys and in a view descriptor, also selects them for the view.
The BYKEY statement cannot be used to change the BYKEY value in a view descriptor if the ASSIGN= statement in the access descriptor from which the view descriptor is derived has a value of YES (or Y).
The BYKEY statement applies to data items. The variable-identifier argument can be one of the following:
Note: Any name on the lefthand side of the equal sign must be a
SAS name, not a SYSTEM 2000 name. In an access descriptor, if the ASSIGN statement
is omitted, you must use the item number or component number (C-number) on
the lefthand side of the equal sign.
For example, if you want to make the third item a BY key, issue the following statement:
bykey 3=y;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.