While executing COBOL pgm DB2 Create Thread function error.



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

While executing COBOL pgm DB2 Create Thread function error.

Postby Kasikannan » Mon Jul 18, 2011 4:42 pm

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
Kasikannan
 
Posts: 5
Joined: Mon Apr 04, 2011 12:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: While executing COBOL pgm DB2 Create Thread function err

Postby BillyBoyo » Mon Jul 18, 2011 6:46 pm

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.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: While executing COBOL pgm DB2 Create Thread function err

Postby dick scherrer » Tue Jul 19, 2011 12:16 am

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. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: While executing COBOL pgm DB2 Create Thread function err

Postby Akatsukami » Tue Jul 19, 2011 1:55 am

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?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post