BookmarkSubscribeRSS Feed
mtainio
SAS Employee

Sometimes after packing all the presents you realize, you forgot to remove price tags from some of them. But you don’t remember which one can still have a price tags, and what is packed in which package. If there only would be a way to have a sneaky peek inside, so you don’t need to unpack them all…

 

Similar thing might happen with SAS EG project. Sometimes you want to check if there is some hardcoding (server name, path etc.), or if some table is being used. Of course, you can just open project in SAS EG, and check it, but sometimes there is a lot of projects to check, or you don’t have SAS EG on your machine. But there is a solution.

You can have a sneaky peek to the EG project, by following those steps:

  1. Change extension on the project file from egp to zip
  2. Unzip the file, and you will get a folder structure with XML, SAS codes, and log files.
  3. Use any “search in files” tool, to find what you need. You can also replace it with new values, if needed.
  4. When you are done, zip it back
  5. Change extension from zip back to egp and your work is done.

If there is a lot of projects to be checked – those steps can be coded as a script, that will do all the work for you.