View previous topic :: View next topic
|
Author |
Message |
murali922
New User
Joined: 25 Jul 2005 Posts: 92 Location: India
|
|
|
|
i have a job which executes a program. The program takes in 5 inputs, and produces 2 outputs.
The job abends when i run it. The abend code is SOC4. I have checked if the DD names are correct.
I dont have the compile listing for the program nor the source code of this program.
Is there a way to find out which of the DDs is actually the problem resulting in SOC4 ?
Many Thanks. |
|
Back to top |
|
|
kgumraj2
New User
Joined: 01 Aug 2007 Posts: 42 Location: Hyderabad
|
|
|
|
Hi,
As a test run, can you use trial and error ?
Please let us know how you handled, it is interseting. |
|
Back to top |
|
|
murali922
New User
Joined: 25 Jul 2005 Posts: 92 Location: India
|
|
|
|
I have 5 input files, and all the input files are mandatory. Like if I just do some trial and error it would give me a bad return code, which means I still havent found out which file is the real culprit.
So I am looking for some other way ! Can someone suggest. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
If it is abending on opens, maybe dummying the inputs and outputs one at a time might help....
If it is abending after opens, that may be more of a program logic error.... |
|
Back to top |
|
|
saptagiri kintali
New User
Joined: 21 Sep 2007 Posts: 20 Location: chennai
|
|
|
|
it may be due to reading of file which is not opened successfully |
|
Back to top |
|
|
kbmkris
Active User
Joined: 24 Jun 2006 Posts: 101
|
|
|
|
Hi Murali,
If you have some previous execution of that program with return-code as 0, refer that JCL and use the same files and try running it. If the return-code is 0, then try using your files replacing that one by one. Hope, this may helps you. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It is also time to tell the project lead or other management of the missing source and begin re-writing the code.
It is quite dangerous/foolish to knowingly run code in production for which there is no source. |
|
Back to top |
|
|
|