SQLCODE -991 when monitoring a DB2 application in CA InterTest/Batch Foreground
This problem could be resolved by adding the SDSNEXIT library to the ISPLLIB concatenation, before SDSNLOAD.
It could be done in the MR91CDB2 or MRA0CDB2 CLIST by changing this line from:
...
ISPEXEC LIBDEF ISPLLIB DATASET ID('&PREFIX.CAVHLOAD') STACK
...
to:
...
ISPEXEC LIBDEF ISPLLIB DATASET ID('&PREFIX.CAVHLOAD' -
'DB2.SDSNEXIT' -
'DB2.SDSNLOAD') STACK
...
However, there is no guarantee that it will resolve the problem, but it's likely worth a try.