Page 1 of 1

While executing COBOL pgm DB2 Create Thread function error.

PostPosted: Mon Jul 18, 2011 4:42 pm
by Kasikannan
Hi all,

I am executing a COBOL-DB2 program via CAF. While executing I am getting the error "ERROR ON DB2 CREATE THREAD FUNCTION". SQLCODE seems to be zero. It occurs during the first DB2 call statement.

Any idea how to solve this. Thanks in advance.

Regards,
Kasi

Re: While executing COBOL pgm DB2 Create Thread function err

PostPosted: Mon Jul 18, 2011 6:46 pm
by BillyBoyo
Kasikannan wrote:Hi all,

I am executing a COBOL-DB2 program via CAF. While executing I am getting the error "ERROR ON DB2 CREATE THREAD FUNCTION". SQLCODE seems to be zero. It occurs during the first DB2 call statement.

Any idea how to solve this. Thanks in advance.

Regards,
Kasi


So, collect any and all error messages, in full. Look them up in appropriate manuals/google. If you don't get a full solution, list them here with what you have found out about them.

Re: While executing COBOL pgm DB2 Create Thread function err

PostPosted: Tue Jul 19, 2011 12:16 am
by dick scherrer
Hello,

Are there other programs that operate via CAF successfully? If yes, determine what is different between this program and one that works.

As mentioned, you need to post more info for us to be able to help.

Just as a guest, i suspect that the connection was not established, but i also suspect there is more diagnostic information available somewhere in the run. . .

Re: While executing COBOL pgm DB2 Create Thread function err

PostPosted: Tue Jul 19, 2011 1:55 am
by Akatsukami
Kasikannan wrote:I am executing a COBOL-DB2 program via CAF. While executing I am getting the error "ERROR ON DB2 CREATE THREAD FUNCTION".

What is the error number?