Why is CA Datacom/DB 15.0 INSTJCL job BDACTDYN STEP1 failing with error?
DB00605E - DBUTLTY COMM CONSOLE BAD CONTEXT - SYSTEMDBID_DELETE
Some prior activity accessed any of the Datacom the Dynamic System Tables (DBID 1000) causing it to be opened so it would need to be CLOSEd.
Add "COMM DBID=100,OPTION=CLOSE" after the SET and before the COMM OPTION=CONSOLE in STEP1 of BDACTDYN as shown below and rerun BDACTDYN:
//STEP1 EXEC PGM=DBUTLTY,REGION=0M
// INCLUDE MEMBER=B15STLIB
// INCLUDE MEMBER=B15DDCXX
// INCLUDE MEMBER=B15DDOUT
//*
//SYSIN DD *
SET OPTION1=ECHO_FUNCTIONS
COMM DBID=1000,OPTION=CLOSE
COMM OPTION=CONSOLE,OPTION2='SYSTEMDBID_DELETE'
/*
BDACTDYN is one of the "Active Upgrade" jobs.
Refer to CA Datacom® Core - 15.0 section "How to Perform an Active Multi-User Facility Upgrade"
https://docops.ca.com/ca-datacom/15-0/en/installing/how-to-perform-an-active-multi-user-facility-upgrade