In a large effort to “productionalize” our migration process, our DBA would like to know if there is some way to automate the generation of a list of the tables used in a universe. Ideally, we would be able to scan all of the universe files (.unv) in a given directory and output a list of of the unique tables used in them. We could then use that list to prompt SQL Server to move only the tables we need. I don’t even know where to start with this one. Thanks.
XI does not use the same repository structure, therefore the SQL as provided will not work. I understand there are technical reasons for switching to the new repository structure, but it sure makes me long for the “good old days” when questions like this come up. :?
It is possible using the Designer SDK. Take a look at this utility …Document a universe using Excel and the Designer SDK … for an example of how to read the contents of a universe. That utility operates on a single universe at a time. However, this utility … List objects used in a series of reports … acts on a series of documents within a given folder. Combining the techniques from the two utilities would give you what you need.