We're on kernel 7.20 patch 201 (disp+work 215).
We're facing an issue in one of our systems wherein a work process gets terminated with the below message:
RSTG chain defective, return code -02
I found Note 1676142 which perfectly describes the situation..however this Note is for SQL...whereas we're on DB2.
Would setting parameter rdisp/rollin_locking help ?
Solution in the note is to upgrade your dbsl libraries. Which you can do also for db2 database.
though the note only mentions sql server. It is always good to be on the latest dbsl libraries.
See if the error goes away with the upgrade of libraries before considering any parameters.
SAP note 1676142 and the solution described in it is valid onyl if the database is MS SQL.
You need to set rdisp/rollin_locking = 2 , see the method in SAP note 1310129.