Hi Aravind,
I think the only feasible way to go is to parse CustIntelCore log. It's not easy to fully automate due to some intricacies of the log structure, yet this is possible. Both of us know what are you looking for (datepart function usage) and it's right there in the log, in the queries SQL text.
The only alternative will require using a monstrous combination of technologies and the solution will be much more complicated:
- CustIntelCore log or SAS Metadata to track which campaigns were recently executed / modified
- Campaign extraction to XML with CI Integration Utility, parsing a very complex XML structure
- Infomap extraction to XML with proc infomaps, parsing another very complex XML structure
- Combining information from #2 and #3 to find out which attributes were "dates" and used a datepart function.
That's an overkill and not feasible for the task.
Good luck!
-------
Dmitriy Alergant, Tier One Analytics