Joined: 13 Jul 2006 Posts: 205 Location: At my desk
I got a cobol program which accesses DB2 tables. I got a cursor for accessing the table.
When i changed my code and submitted the job, my job abended with SOC1.
When i Exped the job, it is gettng abended at the Cursor open statement..
You got any idea ?
I dont seee any problem in opening the cursor ? ( the program has got the logic to close the cursor after completion.) also the code i am
speaking about was working fine. Suddenly it failed with SOC1. (I tried commmenting out the changes i made to the code also)
But it is not working ?
Nobody is Perfect. I am Nobody
Joined: 18 Jul 2007 Posts: 2150 Location: At my coffee table
You do know that a S0C1 is an operation exception, Easy to get with assembler but kind of hard with COBOL....
Except with a wild branch, check the link map, see if something didn't get linked in.....
Als check your dybamic calls for correct spelling on the module names....