Page 2 of 2

Re: S0C1 on first DB2 connection statement

PostPosted: Tue Oct 11, 2011 11:02 am
by BillyBoyo
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.

Re: S0C1 on first DB2 connection statement

PostPosted: Tue Oct 18, 2011 11:09 am
by steven_su
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.

Re: S0C1 on first DB2 connection statement

PostPosted: Tue Oct 18, 2011 2:32 pm
by BillyBoyo
Glad it is working. Thanks for letting us know.