Specify the IN= data
set option in parentheses after a SAS data set name in the SET, MERGE,
MODIFY, and UPDATE statements only. Values of IN= variables are available
to program statements during the DATA step. The variables are not
included in the SAS data set that is being created, unless they are
assigned to a new variable.
When you use IN= with
BY–group processing, and when a data set contributes an observation
for the current BY group, the IN= value is 1. The value remains as
long as that BY group is still being processed and the value is not
reset by programming logic.