Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SOC1 Abend in Cursor open statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: SOC1 Abend in Cursor open statement
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: 2150
Location: At my coffee table

PostPosted: Fri Aug 31, 2007 4:24 pm    Post subject:
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

Site Director


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

PostPosted: Fri Aug 31, 2007 8:29 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us