So following up a question that we put to the official IDMS product support channel regarding generating a list of IDMS AREAs that are dependent AREAs when needing to UNLOAD/RELOAD an AREA for the purposes of space management (for us, that's generally enlarging AREAs).
We know that the UNLOAD/RELOAD processing of the BCF utility will generate the 'AREA RECORD DEPENDENCY TABLE' as part of its output if you do not manually allocate all dependant AREAs to the job via JCL yourself. In order to avoid potential performance issues noted in Guidelines for unload/reload where there are dependent areas and/or indexes we have always performed a full UNLOAD/RELOAD on ALL AREAs that were noted as dependent. This of course implies that we must then follow the dependency 'chain', and also UNLOAD/RELOAD all AREAs that are dependent on the dependent AREAs, etc, etc. Sometimes in our system an UNLOAD for a single highly interconnected AREA can result in us UNLOAD/RELOADing a dozen or more AREAs at the same time in order to guarantee complete integrity and avoid updating via cross-area pointers and the possible mentioned performance issues.
Our question is, how do other sites handle this situation? Do you just UNLOAD/RELOAD the single AREA and let the utility update the pointers to the dependent AREAs? Or do you also UNLOAD/RELOAD dependant AREAs together? And if you do them all together, by what method do you determine the entire chain of dependencies?
PS: We have in the past used a trial & error approach to allowing the BCF utility to generate the 'AREA RECORD DEPENDENCY TABLE' and then rerun with the revealed AREAs added, and cycle around this until no more additional AREAs are revealed before we run the job for real. We now also have REXX based tooling that will identify the whole chain if needed. Broadcom IDMS Support were kind enough to provide solid guidance as to how to easily determine the first level of dependencies with an SQL based approach here: SQL script to list cross area sets.
Thanks and regards - Mike
https://knowledge.broadcom.com/external/article?articleId=429333
-------------------------------------------