Hi,
In both TransactionGroupUpdateXidStatus and ProcArrayGroupClearXidglobal MyProc is used. for consistency, replaced with a function local variable.
thanksRajesh