S0C1 on first DB2 connection statement



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

Re: S0C1 on first DB2 connection statement

Postby BillyBoyo » Tue Oct 11, 2011 11:02 am

You have a program with basically no code in it that is not generated, which is not working. As Dick says, find out from colleagues/technical support what is different betwee how you run it and how an operating one is run.

"EXTRANEOUS" in an error message does not mean "I don't need this information", it means that for the current situation the software that is running has found something that you have entered but which is not suitable at that point. If you thought you needed it originally, maybe you do but you have to enter it correctly.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: S0C1 on first DB2 connection statement

Postby steven_su » Tue Oct 18, 2011 11:09 am

With the help of my DBA, I found the problem. It was was due to another DSNHLI member in CICS.SDFHLOAD lib, it was put before the DB2 lib in LINK step so my program called it instead of the one on DB2.SDSNLOAD. Swapping the order of SYSLIB datasets for CICS/DB2 modules then program running successfully.
steven_su
 
Posts: 6
Joined: Fri Oct 07, 2011 7:23 am
Has thanked: 0 time
Been thanked: 0 time

Re: S0C1 on first DB2 connection statement

Postby BillyBoyo » Tue Oct 18, 2011 2:32 pm

Glad it is working. Thanks for letting us know.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Previous

Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post