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

SOC4 : How to resolve when you dont have the compile listing


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
murali922

New User


Joined: 25 Jul 2005
Posts: 92
Location: India

PostPosted: Tue Sep 18, 2007 5:38 pm
Reply with quote

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
View user's profile Send private message
kgumraj2

New User


Joined: 01 Aug 2007
Posts: 42
Location: Hyderabad

PostPosted: Tue Sep 18, 2007 5:48 pm
Reply with quote

Hi,

As a test run, can you use trial and error ?

Please let us know how you handled, it is interseting.
Back to top
View user's profile Send private message
murali922

New User


Joined: 25 Jul 2005
Posts: 92
Location: India

PostPosted: Tue Sep 18, 2007 5:56 pm
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Sep 18, 2007 6:04 pm
Reply with quote

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
View user's profile Send private message
saptagiri kintali

New User


Joined: 21 Sep 2007
Posts: 20
Location: chennai

PostPosted: Mon Sep 24, 2007 6:54 pm
Reply with quote

it may be due to reading of file which is not opened successfully
Back to top
View user's profile Send private message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Tue Sep 25, 2007 6:14 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Sep 25, 2007 8:22 am
Reply with quote

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
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 Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts C Compile time time stamps Java & MQSeries 10
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
No new posts Need help to resolve a hard edit COBOL Programming 8
Search our Forums:

Back to Top