-808   THE CONNECT STATEMENT IS NOT CONSISTENT WITH THE FIRST CONNECT STATEMENT

Explanation

The CONNECT semantics that apply to an application process are determined by the first CONNECT statement executed (successfully or unsuccessfully) by the application process. One of the following rules was violated:
  • A type 2 CONNECT statement cannot be executed after a type 1 CONNECT statement was executed.
  • A type 1 CONNECT statement cannot be executed after a type 2 CONNECT statement was executed.

System action

The statement cannot be processed.

Programmer response

The probable cause of this error is that different programs in the application process were precompiled with different CONNECT options.

Ensure that the application process uses either type 1 or type 2 CONNECT statements and then resubmit the job. The type of CONNECT to be used is a precompiler option. The default is type 2 CONNECT.

SQLSTATE

08001