Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: SOC4 : How to resolve when you dont have the compile listing
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    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Tue Sep 18, 2007 6:04 pm    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Sep 25, 2007 8:22 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts COBOL 5 Compile oerdgie COBOL Programming 3 Thu Oct 06, 2016 6:14 pm
No new posts compile and link program in 6.1 brigitte pruett COBOL Programming 3 Tue Aug 16, 2016 12:09 am
No new posts How to resolve IMS DB status code FM Priyanka Boga IMS DB/DC 3 Fri Jun 10, 2016 1:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us