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
 

 

-805 SQL code in an IMS program calling DB2 module

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: -805 SQL code in an IMS program calling DB2 module
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    Post subject: Reply to: -805 SQL code in an IMS program calling DB2 module
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm


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