IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

-805 SQL code in an IMS program calling DB2 module


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srikar tenali

New User


Joined: 07 Feb 2007
Posts: 22
Location: hyderabad

PostPosted: Wed Aug 20, 2008 11:10 am
Reply with quote

Hi All,

A batch IMS program(PROGRAM1) is calling a non-IMS, non-DB2 program(PROGRAM2). this is inturn calling a DB2 module(PROGRAM3).
This is executed using DFSRRC00 utility with DFSESL DD statements passed.
this is giving an SQLCODE -805 during execution of SQL statements in the DB2 module.
What all programs needs to be compiled with DB2 option yes and binded?
Or is this problem due to anything with passing plan details?

thanks in advance,
Srikar
Back to top
View user's profile Send private message
pankaj_kulkarni111

New User


Joined: 17 Aug 2006
Posts: 13
Location: Pune

PostPosted: Wed Dec 17, 2008 3:30 am
Reply with quote

In this case try binding the package involved in the DB2 module, as -805 indicates timestamp mismatch for the package
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
Search our Forums:

Back to Top