View previous topic :: View next topic
|
Author |
Message |
bkjanes
New User
Joined: 14 Sep 2007 Posts: 4 Location: Alabama Dept of Transportation
|
|
|
|
I'm working on a new processor to precompile, compile, link and BIND a COBOL/DB2 program using a modified verion of the GCIIDBL processor that came with the Endevor installation files. There is a step to BIND in the foreground using BC1PTMP0, which works fine, and a step to BIND in the background (batch) using IKJEFT01. My problem is that when I submit a batch ADD or GENERATE, the BIND step running IKJEFT01 always gets a RC=0012, even though the output shows a successful BIND.
Any idea why IKJEFT01 would give a RC=0012 when the BIND seemed to perform successfully? I've combed through the output and haven't found any clues; I'm at a loss. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
I would start with the IKJEFT01 RC=0012.
I think that has more to do with a failure of proper jcl for the IKJEF step.
I believe you have to use IKJEF b or a or something to return the return code for the application being executed under the terminal emulator (IKJEF).
That is why I think the rc=0012 has nothing to do with the bind process. |
|
Back to top |
|
|
bkjanes
New User
Joined: 14 Sep 2007 Posts: 4 Location: Alabama Dept of Transportation
|
|
|
|
I've tried using IKJEFT1B instead of IKJEFT01, but I get the same result; the BIND output says "SUCCESSFUL BIND", but the step gets a return code 0012.
I agree with you that the return code probably has nothing to do with the BIND itself. I think it has more to do with it running in an Endevor batch process. I'm just at a loss as to how to resolve it. |
|
Back to top |
|
|
|