Thread: CICS

CICS/DB2 SQLCODE -923 - what did I forget to define?

Started by Anita • user3 replies180 viewsLast activity 1 week ago
Post #1
0 votes
Anita
Reputation
118
Posts: 23
Joined: May 29, 2025, 12:45 PM
Posted: Aug 2, 2026, 12:54 PM

Program, map, and transaction are installed. Hit Enter to hit DB2 and get SQLCODE -923 / SQLSTATE 57015.

Been away from mainframe a while. Is this a DB2CONN / DB2ENTRY thing, or is DB2 itself down?

Post #2
1 votes
Dave
Reputation
356
Posts: 25
Joined: Jul 21, 2024, 2:55 PM
Posted: Aug 2, 2026, 2:54 PM

Read the reason code hanging off the -923. Common ones: DB2 not up, CICS-DB2 attachment not up, ENTRY disabled.

If you never did CEDA DEFINE for DB2CONN and DB2ENTRY (and maybe DB2TRAN), CICS has no idea which DB2 subsystem to talk to. Install those, then retry.

Post #3
0 votes
Anita
Reputation
118
Posts: 23
Joined: May 29, 2025, 12:45 PM
Posted: Aug 3, 2026, 4:54 PM

Missing DB2CONN. Defined and installed it. SQL runs now.

You must be signed in to reply to this thread