CA InterTest Batch - SQLCODE -991

Document ID : KB000004286
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

SQLCODE -991 when monitoring a DB2 application in CA InterTest/Batch Foreground

Resolution:

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.