Hi @FreelanceReinh I-m not the first one puzzled by this. Looked at your answer and googled the method sqxreps and one of the first links was this one sas - Proc sql subquery based on nonexisitng column returns not null - Stack Overflow . A discussion on the same topic. Right or wrong can probably be discussed. My own takeaway will be that it might be a good idea to be more strict in referencing tables/views i.e to use tablename.variablename notation in the sql queries.
... View more