Getting a RC -1 and no source displayed in Debug



Support for IBM Debug Tool, Utilities and Advanced Functions

Getting a RC -1 and no source displayed in Debug

Postby MFFLCrime » Sat Aug 04, 2012 9:06 pm

Hi All,

I was able to prepare a Cobol DB2 program for debugging with the IBM Debug Tool. I was also able to prepare a setup file, however, when I try to run it, the program returns a RC = -1 and all is displayed is END***, the source is never displayed. Any ideas? I have followed all the instructions as to how to prepare the program for use but I cannot get it to work. Please Help!

Thanks in advance
MFFLCrime
 
Posts: 8
Joined: Tue Jul 31, 2012 6:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: Getting a RC -1 and no source displayed in Debug

Postby dick scherrer » Sun Aug 05, 2012 3:12 am

Hello,

There should be more diagnostic information available than just the rc=1.

You need to post the output from the problem run (including message ids).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Getting a RC -1 and no source displayed in Debug

Postby Anuj Dhawan » Mon Aug 06, 2012 3:52 pm

MFFLCrime wrote:I was also able to prepare a setup file
By this, what exactly do you mean? If you're an Application Develpoer, you'd never need to create this file. Or did you mean, the "set-up" file has the code for the program you neede to debug?

all is displayed is END***
This most possibly means that the Debugger could not map to load-module of your intereset. In other words, that's not present in "set-up files, IBM File-managers is referring to for the debug session". Correct this. Actually, these set-ups are usually site-specific, suggest you talk to some senior around at your shop Or talk to your Site-support if they can help you in this.
Anuj
Anuj Dhawan
 
Posts: 273
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times

Re: Getting a RC -1 and no source displayed in Debug

Postby MFFLCrime » Tue Aug 07, 2012 5:07 am

I was referring to the DTSF file the you create from scratch or gnerate it by copying the run jcl.
MFFLCrime
 
Posts: 8
Joined: Tue Jul 31, 2012 6:47 am
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Debug Tool

 


  • Related topics
    Replies
    Views
    Last post