I’ve found this document that talks about “Code 998, state 58005, reason code 9, subcode 2". Unfortunately, all they say is:
For reason code 9, subcode 02, ensure that the tp_mon_name configuration parameter contains the name of the dynamic library in the external product which has the ax_reg() function used for dynamic registration of transactions.
On the other hand, I found this document where, on the explanation of
tm_database, they say "don't use tp_mon_name, if you are using XA switch module", which I am. But they don't explain
I have two versions of the switch module, one with
CONSTANT DYNAMICREGISTRATION "Y"and one with
CONSTANT DYNAMICREGISTRATION "N". The latter exists somewhere and will take me huge time to find. Do you think it could be it?