View previous topic :: View next topic
|
Author |
Message |
vab987
New User
Joined: 01 Dec 2006 Posts: 29 Location: S.A
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
vab987
New User
Joined: 01 Dec 2006 Posts: 29 Location: S.A
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
good to hear it has been resolved - thank you for letting us know
d |
|
Back to top |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
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 |
|
|
|