Page 1 of 1

Getting a RC -1 and no source displayed in Debug

PostPosted: Sat Aug 04, 2012 9:06 pm
by MFFLCrime
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

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

PostPosted: Sun Aug 05, 2012 3:12 am
by dick scherrer
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).

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

PostPosted: Mon Aug 06, 2012 3:52 pm
by Anuj Dhawan
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.

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

PostPosted: Tue Aug 07, 2012 5:07 am
by MFFLCrime
I was referring to the DTSF file the you create from scratch or gnerate it by copying the run jcl.