DSNA203E   DSNACA00 TCB=address CANNOT USE 'CLOSE', THERE WAS NO 'OPEN' IN EFFECT

Explanation

A CLOSE request was received but no OPEN level connection (implicit or explicit) existed for this task. This is a user error. The message is accompanied by return code (R15) 200 and code (R0) 00C10203.

System action

No CLOSE is 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 CLOSE unless an explicit OPEN has been performed. 'Explicit' OPENs occur when an application issues the call attachment facility OPEN request.

Problem determination

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