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 from db2 optimizer

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
yugendran

New User


Joined: 14 Dec 2007
Posts: 51
Location: indore

PostPosted: Thu Aug 13, 2015 7:59 am    Post subject: -805 sql code from db2 optimizer
Reply with quote

Hi guys

I am trying understand the below issue

I am adding a new package to a collection. the collection is already present in plan that I m gonna execute. So I didn't bind the plan. However I end up with -805 sql error. On looking at the logs I found that -805 is from package CAODDB8S.timestamp which is a ca optimizer ii package.

I am confused, till now my understanding is that no need to bind the plan if we add the package to a collection which is already present in plan Pklst.

btw, when I did the bind plan it solved the issue. but need to know it resolved the issue.

Thanks.
Yugendran
Back to top
View user's profile Send private message

RahulG31

Active User


Joined: 20 Dec 2014
Posts: 335
Location: USA

PostPosted: Thu Aug 13, 2015 10:26 am    Post subject: Reply to: -805 sql code from db2 optimizer
Reply with quote

This should help. Look at reason code 3 :

Quote:
The DBRM of the version of the application program being executed was not bound. (A package with the same consistency token as that of the application program was not found.)
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 How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


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