How can one scan inside an EG project from another EG project looking for certain keywords? The purpose would be to determine where a specific table was referenced without having to manually open every project.
No. I think it would require advanced methods using the EG API, i.e. using VBS, VBA or other scripting platforms.
I have used this code, from @ChrisHemedinger, to iterate through one project's code, but I have not used it to search the file system. I can envision it being done.
sas-eg-automation/ExtractCode.vbs at master · cjdinger/sas-eg-automation · GitHub
I always have wished that EG could save its files in a way that the project's code was visible as text to OS so that the operating system could just perform text searches like the search you propose to do.
Doesn't the Process flow window have an Export with options like "Export all code in process flow" or "Export all code in project"?
Manual step but should be able to get program text from that.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.