Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us