DSNA204E DSNACA00 TCB=address CANNOT USE 'DISCONNECT', THERE WAS NO 'CONNECT' IN EFFECT

Explanation

A DISCONNECT request was received but no Db2 connection had been established. This is a user error. The message is accompanied by return code (R15) 200 and code (R0) 00C10204.

System action

No DISCONNECT has been performed. The Db2 call attachment facility is ready for more input.

System programmer response

Refer the problem to the programmer using the Db2 call attachment facility.

Programmer response

Correct the logic in your application. Do not issue DISCONNECT unless a CONNECT has been performed.

Problem determination

See a DSNTRACE trace stream to understand the context of this message.