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
 

 

Error BINDing DB2 Program in Batch Using IKJEFT01

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
bkjanes

New User


Joined: 14 Sep 2007
Posts: 4
Location: Alabama Dept of Transportation

PostPosted: Fri Aug 15, 2008 3:04 am    Post subject: Error BINDing DB2 Program in Batch Using IKJEFT01
Reply with quote

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

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Fri Aug 15, 2008 11:21 am    Post subject:
Reply with quote

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

New User


Joined: 14 Sep 2007
Posts: 4
Location: Alabama Dept of Transportation

PostPosted: Fri Aug 15, 2008 9:18 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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