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

Facing an abend of -805 sql error


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

New User


Joined: 20 Jul 2007
Posts: 7
Location: Hyderabad

PostPosted: Mon Sep 10, 2007 4:02 pm
Reply with quote

Hi friends,
I am working with a customer-add,update,delete program in cobol under cics.while executing i am facing an abend of -805 sql error. but, my plan name and its dbrmlib were all well ok.
so, still while i am updating an customer number, i am not able to visualize the customer number and its contents.
so, i would request you to plz give me proper reply.

with regards,
satish
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Sep 10, 2007 4:10 pm
Reply with quote

Satish,
Quote:
while executing i am facing an abend of -805 sql error


Let us know the resaon code. If possible post spool messages.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Sep 10, 2007 4:28 pm
Reply with quote

you should get in the habit of displaying/logging the contents of sqlda whenever you receive a negative sqlcode.

Since you are working in the CICS environment and you are sure that the compile/link/bind process was complete and error free, then insure that you managed to effect a NEWCOPY of the load module in the CICS region in which you are working. You should also insure that the bound load is in the loadlib referenced by the CICS Start JCL.
Back to top
View user's profile Send private message
satishk

New User


Joined: 20 Jul 2007
Posts: 7
Location: Hyderabad

PostPosted: Tue Sep 11, 2007 11:01 am
Reply with quote

Hi Dick Brenholtz,

This is Satishk.well, i agree with your answer, but i would like to inform you that i have loaded my program in my loadlib.And i even set that program each time i have made my application to execute, to ensure my updates in my cobl program.
so, my solution to application is not yet got solved.
i think you got it.



with regards,
satishk
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 11, 2007 8:58 pm
Reply with quote

Hello satish,

When might you post the info Murali requested?
Quote:
Let us know the resaon code. If possible post spool messages.
Back to top
View user's profile Send private message
kodeesm

New User


Joined: 21 Jun 2006
Posts: 5
Location: Pune

PostPosted: Thu Sep 13, 2007 1:42 pm
Reply with quote

Hi Sathish,

I was faced this problem when I started working with the CICS. I have done the following steps and avoided the -805.

1. Check for the region(if you are having different CICS region) to which you compiled the program.
2. Release the already existing program versions from the CICS region.
3. After that make a new copy and start working.

If you are still facing the same problem, then please let us know.

Thanks & Regards
Kodeeswaran M
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top