Usage notes

If a DB2CONN is not installed when the DSNC STRT command is issued, error message DFHDB2031 is produced, indicating that no DB2CONN is installed. Resource definitions must be installed from the CSD before attempting to start the CICS DB2 attachment facility.

If you issue a DSNC STRT command and specify a DB2 subsystem ID, any DB2GROUPID in the installed DB2CONN definition is blanked out, and needs to be set again (using CEDA INSTALL or a SET DB2CONN command) to use group attach on subsequent occasions.

The hierarchy for determining the DB2 subsystem to use is as follows:
  1. Use the subsystem ID if specified in a DSNC STRT command.
  2. Use the DB2ID in the installed DB2CONN if not blank.
  3. Use the DB2GROUPID in the installed DB2CONN for group attach.
  4. Use the subsystem ID if specified on the INITPARM when the DB2ID and DB2GROUPID in the last installed DB2CONN are blank (or have subsequently been set to blanks). On any startup, INITPARM is always used if the last installed DB2CONN contained a blank DB2ID and a blank DB2GROUPID, even if the DB2ID or DB2GROUPID were subsequently changed using a SET command.
  5. Use a default subsystem ID of DSN.