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

Getting S0C1 Abend on Open Cursor


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Fri Jan 01, 2010 2:10 am
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
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

Moderator Emeritus


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

PostPosted: Mon Jan 11, 2010 2:23 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts Calling an Open C library function in... CICS 1
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
Search our Forums:

Back to Top