yourdata(in=a)creates a flag variable in a program data vector called 'a' that contains 1 if the entry belongs to your date and 0 if it doesn’t. You can then use these variables to perform conditional operations based on the recording source.
It might be easier to understand if you saw
data newdata;
merge yourdata(in=ThisRecordIsFromYourData) otherdata(in=ThisRecordIsFromOtherData);
by permno date;
run;
Suppose that the records from your data needed to be manipulated at this step, but not from other data, you could do something like
data newdata;
merge yourdata(in=ThisRecordIsFromYourData) otherdata(in=ThisRecordIsFromOtherData);
by permno date;
if ThisRecordIsFromYourData then do;
* some operation here for yourdata records only ;
end;
run;
, "" , if. , if ThisRecordIsFromYourData and ThisRecordIsFromOtherData; SAS , from (, ).