DB2CONN Resource Table

A CICS® Resource that describes a Db2® connection in an active CICS system being managed by CICSPlex® SM.

The First key field for this resource is NAME.

The following actions are supported:
CONNECT
Connect to the DB2® environment.

The CONNECT action does have a parameter, BUSY, but this is ignored and deprecated. Applications should not specify the BUSY parameter. Note that the BUSY parameter still applies to DISCONNECT and is a required parameter.

DISCARD
Discard the DB2 connection.
DISCONNECT
Disconnect from the DB2 environment.
The parameter data for the DISCONNECT action is:
   PARM('BUSY(cvda).')

     where:

     cvda = Valid CVDA values for the DB2 connection busy condition WAIT, NOWAIT or FORCE.
FORCE
Force disconnection from the DB2 environment.
REBUILD
Rebuild the security environment.

External resource name(CMCI)
CICSDb2Connection
Object type
CICS Resource
Length
408
Usage
API, WUI, CICS Management Client Interface(CMCI), EVALDEF
API view
Yes
CMAS context
No
SCOPE applies
Yes
Only query CMASs in workload
No
Copybook identifier
EYUt0086
Security Class
OPERATE.DB2DBCTL
CICS Commands subject to CICS Security
EXTRACT STATISTICS
INQUIRE DB2CONN
INQUIRE SYSTEM
Unsupported CICS Releases
None
Table 1. Valid CPSM operations
Operations Actions Parameters Required
GET   None N/A
SET   None N/A
PERFORM SET, PERFORM OBJECT CONNECT BUSY(value) Yes
  DISCARD None N/A
  DISCONNECT BUSY(WAIT, NOWAIT, FORCE) Yes
  FORCE None N/A
  REBUILD None N/A
Table 2. DB2CONN resource table attributes
Name Datatype Source CICS Source CICS Field Len Sum Set Description Default Get Invalid Offset GraphQL Field
EYU_CICSNAME CHAR CPSM     8 DIFF No CICS System Name     0 regionName
EYU_CICSREL CHAR CPSM     4 DIFF No CICS Release     8 CICSRelease
EYU_RESERVED CHAR CPSM     4 N/A No Reserved     12  
 NAME-1  CHAR INQ SYSTEM DB2CONN 8 DIFF No DB2 connection name     16 name
ACCOUNTREC CVDAS INQ DB2CONN ACCOUNTREC 4 LIKE Yes Accounting record option     24 accountrec
ACCOUNTREC Input/output valid values
  • UOW
  • TXID
  • NONE
  • TASK
AUTHID CHAR INQ DB2CONN AUTHID 8 DIFF Yes Pool thread authorization ID     28 authid
AUTHTYPE CVDAS INQ DB2CONN AUTHTYPE 4 LIKE Yes Pool thread authorization type     36 authtype
AUTHTYPE Input/output valid values
  • GROUP
  • SIGN
  • TERM
  • TX
  • OPID
  • USERID
AUTHTYPE Output valid values
  • NOTAPPLIC
BASDEFINEVER BINARY CPSM   Calculated 1 AVG No BAS resource definition version 0   384 basdefinever
CCALLS CNUMERIC STAT DFHD2GDS D2G_COMD_CALLS 4 AVG No Number of calls using command threads     276 ccalls
CHANGEAGENT CVDAS INQ DB2CONN CHANGEAGENT 4 LIKE No Last modification agent     332 changeAgent
CHANGEAGENT Input/output valid values
  • CSDAPI
  • CSDBATCH
  • DREPAPI
  • OVERRIDE
  • DREPBATCH
  • CREATESPI
  • NOTAPPLIC
  • N_A
CHANGEAGREL CHAR INQ DB2CONN CHANGEAGREL 4 DIFF No Last modification agent release     336 changeAgentRelease
CHANGETIME DATETIME INQ DB2CONN CHANGETIME 8 MAX No Last modification time     344 changeTime
CHANGEUSRID CHAR INQ DB2CONN CHANGEUSRID 8 DIFF No Last modification user ID     324 changeUserID
COMAUTHID CHAR INQ DB2CONN COMAUTHID 8 DIFF Yes Command thread authorization ID     48 comauthid
COMAUTHTYPE CVDAS INQ DB2CONN COMAUTHTYPE 4 LIKE Yes Command thread authorization type     56 comauthtype
COMAUTHTYPE Input/output valid values
  • CGROUP
  • CSIGN
  • CTERM
  • CTX
  • COPID
  • CUSERID
COMAUTHTYPE Output valid values
  • NOTAPPLIC
COMTHREADLIM CNUMERIC INQ DB2CONN COMTHREADLIM 4 AVG Yes Maximum number of command threads     44 comthreadlim
COMTHREADS CNUMERIC INQ DB2CONN COMTHREADS 4 AVG No Number of active command threads     40 comthreads
CONNECTERROR CVDAS INQ DB2CONN CONNECTERROR 4 LIKE Yes Connection error processing option     60 connecterror
CONNECTERROR Input/output valid values
  • ABEND
  • SQLCODE
CONNECTST CVDAS INQ DB2CONN CONNECTST 4 LIKE Yes Connection status     64 status
CONNECTST Input/output valid values
  • CONNECTED
  • NOTCONNECTED
CONNECTST Output valid values
  • CONNECTING
  • DISCONNING
CSIGNONS CNUMERIC STAT DFHD2GDS D2G_COMD_SIGNONS 4 AVG No Number of command thread signons     280 csignons
CTCURR CNUMERIC STAT DFHD2GDS D2G_COMD_THREAD_CURRENT 4 AVG No Current number of command threads     296 ctcurr
CTHWM CNUMERIC STAT DFHD2GDS D2G_COMD_THREAD_HWM 4 AVG No Peak number of command threads     304 cthwm
CTIMEGMT TIMESTP STAT DFHD2GDS D2G_CONNECT_TIME_GMT 8 MAX No GMT connect time     168 ctimegmt
CTIMELOC TIMESTP STAT DFHD2GDS D2G_CONNECT_TIME_LOCAL 8 MAX No Local connect time     176 ctimeloc
CTLIMIT CNUMERIC STAT DFHD2GDS D2G_COMD_THREAD_LIMIT 4 AVG No Maximum number of command threads     292 ctlimit
CTOVERF CNUMERIC STAT DFHD2GDS D2G_COMD_THREAD_OVERF 4 AVG No Number of command thread overflows to pool     288 ctoverf
CTTERM CNUMERIC STAT DFHD2GDS D2G_COMD_THREAD_TERM 4 AVG No Number of command thread terminations     284 ctterm
DB2GROUPID CHAR INQ DB2CONN DB2GROUPID 4 DIFF Yes DB2 data sharing group ID     316 dataSharingGroupID
DB2ID CHAR INQ DB2CONN DB2ID 4 DIFF Yes DB2 subsystem ID     68 subsystemID
DB2RELEASE CHAR INQ DB2CONN DB2RELEASE 4 DIFF No DB2 version and release     72 release
DEFINESOURCE CHAR INQ DB2CONN DEFINESOURCE 8 DIFF No Source of the resource definition     352 defineSource
DEFINETIME DATETIME INQ DB2CONN DEFINETIME 8 MAX No Creation time     360 defineTime
DROLLBACK CVDAS INQ DB2CONN DROLLBACK 4 LIKE No Deadlock resolution rollback option     76 drollback
DROLLBACK Output valid values
  • ROLLBACK
  • NOROLLBACK
DTIMEGMT TIMESTP STAT DFHD2GDS D2G_DISCONNECT_TIME_GMT 8 MAX No GMT disconnect time     184 dtimegmt
DTIMELOC TIMESTP STAT DFHD2GDS D2G_DISCONNECT_TIME_LOCAL 8 MAX No Local disconnect time     192 dtimeloc
INSTALLAGENT CVDAS INQ DB2CONN INSTALLAGENT 4 LIKE No Installation agent     340 installAgent
INSTALLAGENT Input/output valid values
  • CSDAPI
  • CREATESPI
  • GRPLIST
INSTALLTIME DATETIME INQ DB2CONN INSTALLTIME 8 MAX No Installation time     376 installTime
INSTALLUSRID CHAR INQ DB2CONN INSTALLUSRID 8 DIFF No Installation user ID     368 installUserID
MSGQUEUE1 CHAR INQ DB2CONN MSGQUEUE1 4 DIFF Yes Unsolicited error message TDQ name 1     80 msgqueue1
MSGQUEUE2 CHAR INQ DB2CONN MSGQUEUE2 4 DIFF Yes Unsolicited error message TDQ name 2     84 msgqueue2
MSGQUEUE3 CHAR INQ DB2CONN MSGQUEUE3 4 DIFF Yes Unsolicited error message TDQ name 3     88 msgqueue3
NONTERMREL CVDAS INQ DB2CONN NONTERMREL 4 LIKE Yes Non-terminal transaction thread-release option     92 nontermrel
NONTERMREL Input/output valid values
  • RELEASE
  • NORELEASE
PABORTS CNUMERIC STAT DFHD2GDS D2G_POOL_ABORTS 4 AVG No Number of pool thread aborts     224 paborts
PCALLS CNUMERIC STAT DFHD2GDS D2G_POOL_CALLS 4 AVG No Number of calls using pool threads     212 pcalls
PCOMMITS CNUMERIC STAT DFHD2GDS D2G_POOL_COMMITS 4 AVG No Number of pool thread commits     220 pcommits
PLAN CHAR INQ DB2CONN PLAN 8 DIFF Yes Name of plan used for pool     96 plan
PLANEXITNAME CHAR INQ DB2CONN PLANEXITNAME 8 DIFF Yes Name of dynamic plan exit used for pool threads     104 planexitname
PPSIGNONS BINARY STAT DFHD2GDS D2G_POOL_PARTIAL_SIGNONS 4 AVG No Number of pool thread partial signons     396 ppsignons
PREUSELIMCT BINARY STAT DFHD2GDS D2G_POOL_REUSELIMIT_COUNT 4 AVG No Number of times a pool thread reached REUSELIMIT     392 preuselimct
PRIORITY CVDAS INQ DB2CONN PRIORITY 4 LIKE Yes TCB priority     112 priority
PRIORITY Input/output valid values
  • HIGH
  • EQUAL
  • LOW
PRQCUR CNUMERIC STAT DFHD2GDS D2G_POOL_READYQ_CURRENT 4 AVG No Current number of tasks waiting for pool thread     268 prqcur
PRQHWM CNUMERIC STAT DFHD2GDS D2G_POOL_READYQ_HWM 4 AVG No Peak number of tasks waiting for pool thread     272 prqhwm
PSIGNONS CNUMERIC STAT DFHD2GDS D2G_POOL_SIGNONS 4 AVG No Number of pool thread signons     216 psignons
PSPHASE CNUMERIC STAT DFHD2GDS D2G_POOL_SINGLE_PHASE 4 AVG No Number of units of work with single phase commit     228 psphase
PTCREATE BINARY STAT DFHD2GDS D2G_POOL_THREAD_CREATE 4 AVG No Number of times threads created     400 ptcreate
PTCURR CNUMERIC STAT DFHD2GDS D2G_POOL_THREAD_CURRENT 4 AVG No Current number of active pool threads     248 ptcurr
PTHWM CNUMERIC STAT DFHD2GDS D2G_POOL_THREAD_HWM 4 AVG No Peak number of active pool threads     252 pthwm
PTLIMIT CNUMERIC STAT DFHD2GDS D2G_POOL_THREAD_LIMIT 4 AVG No Maximum number of pool threads     244 ptlimit
PTREUSE CNUMERIC STAT DFHD2GDS D2G_POOL_THREAD_REUSE 4 AVG No Number of times transactions reused pool threads     232 ptreuse
PTTERM CNUMERIC STAT DFHD2GDS D2G_POOL_THREAD_TERM 4 AVG No Number of times threads terminated     236 ptterm
PTWAIT CNUMERIC STAT DFHD2GDS D2G_POOL_THREAD_WAITS 4 AVG No Number of pool thread waits     240 ptwait
PURGECYCLEM CNUMERIC INQ DB2CONN PURGECYCLEM 4 AVG Yes Protected thread purge cycle (minutes)     116 purgecyclem
PURGECYCLES CNUMERIC INQ DB2CONN PURGECYCLES 4 AVG Yes Protected thread purge cycle (seconds)     120 purgecycles
PXCURR CNUMERIC STAT DFHD2GDS D2G_POOL_TASK_CURRENT 4 AVG No Current number of tasks using a pool thread     256 pxcurr
PXHWM CNUMERIC STAT DFHD2GDS D2G_POOL_TASK_HWM 4 AVG No Peak number of tasks using a pool thread     260 pxhwm
PXTOTAL CNUMERIC STAT DFHD2GDS D2G_POOL_TASK_TOTAL 4 AVG No Total number of tasks that used a pool thread     264 pxtotal
RESYNCMEMBER CVDAS INQ DB2CONN RESYNCMEMBER 4 LIKE Yes Resynchronization member     320 resyncmember
RESYNCMEMBER Input/output valid values
  • RESYNC
  • NORESYNC
  • NOTAPPLIC
REUSELIMIT BINARY INQ DB2CONN REUSELIMIT 4 AVG Yes Thread reuse limit     388 reuselimit
SIGNID CHAR INQ DB2CONN SIGNID 8 DIFF Yes Authorization ID used by CICS-DB2 attach     124 signid
STANDBYMODE CVDAS INQ DB2CONN STANDBYMODE 4 LIKE Yes Standby mode action     160 standbymode
STANDBYMODE Input/output valid values
  • NOCONNECT
  • CONNECT
  • RECONNECT
STATSQUEUE CHAR INQ DB2CONN STATSQUEUE 4 DIFF Yes Attachment statistics TDQ name     132 statsqueue
TCBFREE CNUMERIC STAT DFHD2GDS D2G_TCB_FREE 4 AVG No Current number of connections without a TCB     300 tcbfree
TCBLIMIT CNUMERIC INQ DB2CONN TCBLIMIT 4 AVG Yes Maximum number of connections (TCBLIMIT)     140 TCBLimit
TCBPROTCUR BINARY STAT DFHD2GDS D2G_TCB_PROTECTED_CURRENT 4 AVG No current number of connections with pthreads   E710 404 currentConnectionsWithProtectedThreads
TCBRDYQCURR CNUMERIC STAT DFHD2GDS D2G_TCB_READYQ_CURRENT 4 AVG No Current number of tasks waiting for a connection     308 tcbrdyqcurr
TCBRDYQHWM CNUMERIC STAT DFHD2GDS D2G_TCB_READYQ_HWM 4 AVG No Peak number of tasks waiting for a connection     312 tcbrdyqhwm
TCBS CNUMERIC INQ DB2CONN TCBS 4 AVG No Current number of connections with a TCB     136 currentTCBs
TCURR CNUMERIC STAT DFHD2GDS D2G_TCB_CURRENT 4 AVG No Current number of connections with a TCB     204 tcurr
THREADERROR CVDAS INQ DB2CONN THREADERROR 4 LIKE No Action following thread error     144 threaderror
THREADERROR Output valid values
  • ABEND
  • N906D
  • N906
THREADLIMIT CNUMERIC INQ DB2CONN THREADLIMIT 4 AVG Yes Maximum number of pool threads     152 threadlimit
THREADS CNUMERIC INQ DB2CONN THREADS 4 AVG No Number of active pool threads     156 threads
THREADWAIT CVDAS INQ DB2CONN THREADWAIT 4 LIKE Yes Thread wait option     148 threadwait
THREADWAIT Input/output valid values
  • TWAIT
  • NOTWAIT
THWM CNUMERIC STAT DFHD2GDS D2G_TCB_HWM 4 AVG No Peak number of subtask TCBs     208 thwm
TLIMIT CNUMERIC STAT DFHD2GDS D2G_TCB_LIMIT 4 AVG No Current maximum number of subtask TCBs     200 tlimit