The KEEP statement causes
a DATA step to write only the variables that you specify to one or
more SAS data sets. The KEEP statement applies to all SAS data sets
that are created within the same DATA step and can appear anywhere
in the step. If no KEEP or DROP statement appears, all data sets
that are created in the DATA step contain all variables.
Note: Do not use both the KEEP
and DROP statements within the same DATA step.