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
 
Getting a sql error with error code -805

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
rajdsi

New User


Joined: 09 May 2008
Posts: 1
Location: bangalore

PostPosted: Fri Aug 22, 2008 2:23 pm    Post subject: Getting a sql error with error code -805
Reply with quote

hi,

i am able to compile the program successfully but while running from cics i am getting a sql error with error code -805.

can anybody help me in rectifying the problem.


Thank you in advance..
Back to top
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Aug 22, 2008 2:39 pm    Post subject: Reply to: db2 plan error
Reply with quote

Raj,

Quote:
i am able to compile the program successfully but while running from cics i am getting a sql error with error code -805.


From QW

Quote:
Explanation: An application program attempted to use a DBRM or package
location-name.collection-id.dbrm-name.consistency-token that was not
found.


The DBRM or package is not found in the plan. Re-bind the DBRM and test again.
Back to top
View user's profile Send private message
gcvivekkrishnan

New User


Joined: 18 Apr 2008
Posts: 1
Location: India

PostPosted: Tue Aug 26, 2008 6:34 pm    Post subject:
Reply with quote

hi

for -805 try these

* Bind the program 'program name' as the member part of the application plan 'plan name' or
* Correct the collection id in the PKLIST and bind the application plan 'plan name' or
* Set the current package set special register correctly or
* Put the correct 'location name' in the CURRENTSERVER of the BIND command and bind the application plan 'plan name' or
* Connect to the correct RDB name or
* Correct the location id in the PKLIST and bind the application plan 'plan name' or
* Bind the DBRM of the version of the application program to be executed
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Tue Aug 26, 2008 6:47 pm    Post subject:
Reply with quote

you might try a new copy before you go thru all the other silliness suggested.
Back to top
View user's profile Send private message
gauravd01

New User


Joined: 25 Aug 2008
Posts: 11
Location: india

PostPosted: Tue Aug 26, 2008 8:19 pm    Post subject: Hi Vivek,
Reply with quote

Thanks for this usefull information.... icon_smile.gif
Back to top
View user's profile Send private message
AJAYREDDY

New User


Joined: 17 Feb 2007
Posts: 52
Location: USA

PostPosted: Wed Aug 27, 2008 9:56 pm    Post subject: Getting a sql error with error code -805
Reply with quote

Hi rajdsi,

Are you able to resolve this problem? Once you have done compiling and NEW COPY in CICS region and still you are getting same error, check the CICS job concatenation libraries in the JOB SPOOL. You will get it by command PRE CICS* in SDSF (Commands vary with installation, please check).

Select the CICS Job which region you are running and check all the LOADLIB (Load Libararies). You should have your program in "first occurence" of load library concatenation. If not, then you should BIND the program package with the same TIMESTAMP of the "first occurence" of LOAD.

Thanks
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 -> COBOL Programming 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 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
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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