View previous topic :: View next topic
|
Author |
Message |
dilip_bangalore
New User
Joined: 29 Sep 2011 Posts: 27 Location: India
|
|
|
|
Hi,
I have a simple read and write cobol. While executing I am getting S0C1 abend. I have checked for misspelled dd names, open, read, write, close in sequence..
Please help if I am missing anything due to which I am receiving S0C1.
Dilip |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Did you get any messages? If so, what are they? |
|
Back to top |
|
|
dilip_bangalore
New User
Joined: 29 Sep 2011 Posts: 27 Location: India
|
|
|
|
The abend is captured in Fault analyzer. Nothing is captured other than S0C1 abend. But in spool, below S0C1 message in JESMSGLG, it displays S0C1 and reason 0000001 and no active module found message is displayed.
I have checked and the loadlib has the load with latest timestamp. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
A SOC1 can be raised when a file hasn't been opened properly. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
This may -- or may not -- be relevant; only someone working at your site can find out for sure.
Quote: |
Problem(Abstract)
S0C1 abend with NO ACTIVE MODULE FOUND. (SCI46826)
Symptom
S0C1 abend with NO ACTIVE MODULE FOUND.
Cause
Linkage editor received RC=8 when applying T030672 and was missed by customer.
Resolving the problem
Apply APAR T030672 from PUT4304 |
Basically, the odds of you getting help from a forum on this issue are pretty close to zero. You need to work with someone AT YOUR SITE to figure out what is going on. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
A S0C1 is an operation exception, an attempt to execute an invalid machine instruction.
Are there tables whose boundaries may have been overrun, thus overlaying code? Was there an unresolved weak external reference at link time? Is inappropriiate I/O (e.g., trying to write to a file opened for output) being done?
Find the COBOL statement in which the abend occurs using the reported offset and the PMAP, and see if that gives any hints. |
|
Back to top |
|
|
dilip_bangalore
New User
Joined: 29 Sep 2011 Posts: 27 Location: India
|
|
|
|
Thanks your suggestion Robert. I was just trying to find if I get any other reasons for S0C1 other than those I mentioned earlier. |
|
Back to top |
|
|
dilip_bangalore
New User
Joined: 29 Sep 2011 Posts: 27 Location: India
|
|
|
|
no offset has been captured in spool or Fault Analyzer. I even have display statement as the very first statement in procedure division. no sysout dd is found in spool. |
|
Back to top |
|
|
Gary McDowell
Active User
Joined: 15 Oct 2012 Posts: 139 Location: USA
|
|
|
|
Can you post applicable parts of your code and the JCL? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Try including
Code: |
//SYSOUT DD SYSOUT=localstandardvalue |
|
|
Back to top |
|
|
|