IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SOC1 Abend in Cursor open statement


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Fri Aug 31, 2007 3:46 pm
Reply with quote

Hi Friends,

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 ?

Thanks,
Diwakar.

---------------------------------
Nobody is Perfect. I am Nobody
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Aug 31, 2007 4:24 pm
Reply with quote

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....
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Aug 31, 2007 8:29 pm
Reply with quote

Hello,

Quote:
the code i am speaking about was working fine. Suddenly it failed with SOC1
What was changed between when it worked and now?

As CG suggests, look at the compile/link for any warnings.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts After newcopy the CICS program user f... CICS 7
No new posts User ABEND U0476. Need help. IMS DB/DC 1
No new posts ABEND 0717 during starting IMS IMS DB/DC 0
No new posts MF professionals open positions Mainframe Jobs 0
Search our Forums:


Back to Top