by Ed Goodman » Mon Aug 08, 2011 7:10 pm
Your question got me thinking. We have a similar problem, but not nearly so widespread, more like an occasional inconvenience. However, it would be nice to know who has shut down a database.
I don't know how much of this is universal, and how much is unique to my shop, so take it with a healthy does of salt.
Find the job that is the started task for the IMS CONTROL region. Not the MESSAGE regions, but the single CONTROL region. It will be the one that is running program DFSMVRC0, not the ones running DFSRRC00.
In that job, look for the DDs named DFSOLP00 through DFSOLPxx. There will be any number of them. These are the IMS online logs. Again, these may get dynamically allocated or something at your shop, I don't know.
Those datasets are the logs. See if you can read them.
I was able to see in my log that I had run the command that stops the databases. I can NOT vouch for how the data appears in there. So for all I know, they are a fixed size and get overwritten from the top every hour. You'll have to do your own research on that. However, I'd bet big money that somewhere in the utilities reference there are record layouts for all of this stuff. Or better yet, a utility to dump certain types of records into a report.