We are trying to do an inserting into a table using a stored proc.
The procedure gets to the last step, throws a 3158 error and then dies.
I have tried looking up the 3158 error but the descirition is not that detailed.
can anyone please shed some light on what exactly error this message relates to?
TDWM related. It seems your request is affected by some TASM rule.
Adding to the Calos's point..
Check the WDName and FinalWDName in your DBQL log table, in case its different, session may get demoted or
requalified to some other group or as in your case its dying then may be it gets impacted by a TASM rule being implied.