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
 

 

Getting S0C1 Abend on Open Cursor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
vab987

New User


Joined: 01 Dec 2006
Posts: 29
Location: S.A

PostPosted: Thu Dec 31, 2009 4:08 pm    Post subject: Getting S0C1 Abend on Open Cursor
Reply with quote

Hi everybody,

I am getting S0C1 error on Opening a cursor.Please find the details below:



The system detected an operation exception (System Completion Code=0C1)
From compile unit NNPP344Z at entry point NNPP344Z at compile unit offset -18D55
at address 00000000.


SYSTSPRT Statements

READY
DSN SYSTEM(FDDG)
DSN
RUN PROGRAM(NNPP344Z) PLAN(NNPCLB) LIB('DNCV00.TARGBIN8.LOAD')
IKJ56641I DSN ENDED DUE TO ERROR+
IKJ56641I SYSTEM ABEND CODE 0C1 REASON CODE 00000001


Please assist.

Thanks in advance.
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 Jan 01, 2010 2:10 am    Post subject:
Reply with quote

Hello,

Until/unless you post something someone might be able to use to help, i suspect it may be a long wait for a useful reply. . .


Why do you believe the open cursor causes an 0c1?
Back to top
View user's profile Send private message
vab987

New User


Joined: 01 Dec 2006
Posts: 29
Location: S.A

PostPosted: Sun Jan 10, 2010 10:53 pm    Post subject:
Reply with quote

Sorry for replying so late. I was getting SOC1 becasue of wrong program that excutes the Batch JCL. I changed it to right name and problem was solved.


Thanks !
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: Mon Jan 11, 2010 2:23 am    Post subject: Reply to: Getting S0C1 Abend on Open Cursor
Reply with quote

good to hear it has been resolved - thank you for letting us know icon_smile.gif

d
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Wed Jan 20, 2010 7:41 pm    Post subject:
Reply with quote

From your SYSTSPRT dump above I can tell you are executing the step using IKJEFT01 which is setting up a TSO environment for execution of your loadmodule.

Loadmodules accessing DB2 from TSO should be linked with the DSNELI or DSNALI attachment module. IMS and CICS interfaces provides other call attachments for the DB2 interface. Source: DB2 (OS390 - z/OS) Application Programming and SQL Guide

If your problem was solved without changing the loadmodule you have probably changed the runtime environment to be consistent with the loadmodule.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Release of Adabas Cursor mohitsethi All Other Mainframe Topics 1 Mon Feb 06, 2017 8:36 pm
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 Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am


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