Hello,
Well I don't know exactly how you can do that, maybe open a PMR with IBM would help on that case.
In all cases, to identify for a storage node what are the document that are not anymore in the application group in CMOD, I would do the following:
1) get the AGID NAME from all the application group having documents in the storage node.
2) search for all doc_name in all the application group segments (normally just the first part (you know number + FAA (sometimes GAA)) get the uniq sorted list.
3) compare to the files in the storage nodes which are not in the list gathered in 2)
4) you have the list of all potential files in TSM that could be "deleted"
Just for an example
you have a Storage node called SN1 in the CMOD ARCHIVE Instance
you have only application group AGTest archive documents in this storage node, with the AGID NAME NWA
You have only 1 segment : NWA1, and by doing a "select distinct doc_name from NWA1", you get the following:
1FAAA
2FAAA
3FAAA
6FAAA
and if you look in TSM in the SN1 storage node, you will have something like:
ARCHIVE/NWA/1FAA
ARCHIVE/NWA/2FAA
ARCHIVE/NWA/3FAA
ARCHIVE/NWA/4FAA
ARCHIVE/NWA/5FAA
ARCHIVE/NWA/6FAA
since 4FAA and 5FAA are not in the NWA1 segment, these are the files that potentially could be deleted from TSM without any data loss.
Regards,
Alessandro