During the post install process, install task ssid0001 'Create Required DB2 Objects', failed with a -904 SQL error.
DSNT408I SQLCODE = -904, ERROR: UNSUCCESSFUL EXECUTION CAUSED BY AN
UNAVAILABLE RESOURCE. REASON 00E70010, TYPE OF RESOURCE
00000801, AND RESOURCE NAME AUTH1107_COM.PTADRVAC.17706531010-
DSNT418I SQLSTATE = 57011 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXIDPM SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = 35 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'00000023' X'00000000' X'00000000'
X'FFFFFFFF' X'00000000' X'00000000' SQL DIAGNOSTIC
How can the -904 error be resolved?
The Package PTADRVAC performs SELECTs from the following ACM Tables;
These are both in Tablespace PTITSTBL.
The package was unable to perform it's SQL due to either of these tables being locked.
Changing the THREADS parameter of the BATPROC PARMLIB member from 2 to 1, should resolve this problem.
A THREADS parameter of 1, specifies that Batch Processor will use single-thread SELECT and SQL processing. This should eliminate the contention and allow the ssid0001 Install task to complete.
If object contention such as this occurs regularly when using Batch Processor, then consider setting THREADS(1) permanently, otherwise use THREADS(2) for improved performance.
THREADS(1) - single-thread processing
THREADS(2) - multiple-thread processing