Post install task Create Required Db2 Objects failed with a -904 error due to an unavailable resource package PTADRVAC
search cancel

Post install task Create Required Db2 Objects failed with a -904 error due to an unavailable resource package PTADRVAC

book

Article ID: 53876

calendar_today

Updated On:

Products

Database Management for DB2 for z/OS - Administration Suite Database Management for DB2 for z/OS - Performance Suite Database Management for DB2 for z/OS - Recovery Suite Database Management for DB2 for z/OS - SQL Performance Suite Database Management for DB2 for z/OS - Utilities Suite DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS

Issue/Introduction

During the Database Management for Db2 for z/OS 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-
   C5D99 
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 
   INFORMATION

Resolution

Package PTADRVAC performs SELECTs from the following ACM Tables;

PTALT_ACM_0610
PTALT_SYSTBL_0610

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 hlq.CDBAPARM 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