We have no problem with the actual allocation. CA-MIM handles these quite well, taking an enqueue from the requesting job and holding it until the dataset is released on the other LPAR. I believe it also sends out messages every couple of minutes as well. So, when it comes to dataset allocation and enqueue, it all works fine, I can easily work out if a dataset is allocated. I just cannot find out who has it allocated - which is what I'm looking for.
You see, we write tools for our local use and these have been picked up and used by people in our sites around the world. And, of course, they have to allocate the datasets to their SYSEXEC, ISPLLIB, etc to be able to use them effectively. I can see who has our various files allocated on the local system by simply running a WHOHAS (our local implementation of GQSCAN). But, if I submit a batch job to run WHOHAS, because our jobs are load-shared when we submit them, it is difficult to force them to run on other LPARs. Even more so as I'm not sure what names of all of the LPARs are.
I'd prefer not to alter our code to inform us who is using our stuff (and when). But I would like to be able to work out who actually has the libraries assigned at any stage. All these big machines with their multiple LPARs - the world was much simpler 30 years ago.
"Calm down, it's only ones and zeros" © Kathy Mar, 1985