![]() Chapter Contents |
![]() Previous |
![]() Next |
| KEEP |
| Valid: | With LENGTH= in a DATA step |
| Category: | Information |
| Type: | Declarative |
| Syntax | |
| Arguments | |
| Details | |
| Comparisons | |
| Examples | |
| See Also |
Syntax |
| KEEP variable-list; |
| Tip: | List the variables in any form that SAS allows. |
| Details |
Note:
Do not use both the KEEP and DROP statements within
the same DATA step.
| Comparisons |
| Examples |
data average; keep name avg; infile file-specification; input name $ score1-score20; avg=mean(of score1-score20); run;
| See Also |
Statements:
| |||||||
Data
Set Option:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.