Hi Kurt, Need one help, the second part of the code is not working fine for me as the library which I am trying to hit has another dataset than ABC, the dataset name can also start with another alphabet also. Though I am applying a filter of 30 days only but if my library has a dataset that goes outside the 30 days range I want to pick that dataset details and put it in the "Missing_date" list I tried it but it's not picking correctly. The change I made in the middle part proc sql noprint; select trim(substr(memname,4)) into :miss_list separated by ',' from dictionary.tables a left join needed b on a.libname = "XYZ" and a.memname = b.memname where a.memname is missing and a.memname like "%ABC"; quit; It gives me an error: Apparent invocation of macro ABC not resolved.
... View more