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

SQL code 804


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

New User


Joined: 21 Nov 2005
Posts: 1

PostPosted: Thu Nov 11, 2010 2:54 pm
Reply with quote

Hi,

one of our production jobs that was running fine till now is failing with SQL CODE -804.

The DBA says


Load Module Name. . . . . . : SWP.PAN.LOAD(CS004982)
At Address. . . . . . . . : 22D04E48
Load Module Length. . . . : X'921B8'
Link-Edit Date and Time . : 2010/11/04 07:26:34

Can you check this ?? Are you using the correct load module ??


FROM SYSIBM.SYSPACKAGE
QUALIFIER: PACKAGE=SDB23CLST.CS004982
Column Name Column Value
----v----1----v----2----v----3----v----4----v----5----v----6
ISOLATION . . . . . . . . . .
RELEASE . . . . . . . . . . .
EXPLAIN . . . . . . . . . . . Y
QUOTE . . . . . . . . . . . . Y
COMMA . . . . . . . . . . . . N
HOSTLANG . . . . . . . . . . . 3
CHARSET . . . . . . . . . . . A
MIXED . . . . . . . . . . . . N
DEC31 . . . . . . . . . . . . N
DEFERPREP . . . . . . . . . . B
SQLERROR . . . . . . . . . . . N
REMOTE . . . . . . . . . . . . N
PCTIMESTAMP . . . . . . . .2010-11-08-07.59.46.256038 [/size][/size][/size]
IBMREQD . . . . . . . . . . . L


the link edit timestamp is 04/11 while the PCtimestamp is 08/11


we tried recompiling the program but it still fails
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Nov 11, 2010 4:10 pm
Reply with quote

Did you also re-bind the package?
Back to top
View user's profile Send private message
Suthagar

New User


Joined: 01 Jul 2005
Posts: 26
Location: Chennai

PostPosted: Fri Nov 12, 2010 11:22 pm
Reply with quote

Hi Anita,

The problem here, timestamp mismatch. Please re do the bind with this package and run it.

Cheers,
Suthagar.S
Back to top
View user's profile Send private message
Rahul Agrawal

New User


Joined: 19 Jul 2010
Posts: 9
Location: Noida

PostPosted: Sat Nov 20, 2010 2:01 pm
Reply with quote

Hi,

Shouldn't the job mentioned throw -818 error if its related to time stamp mismatch?
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: Sat Nov 20, 2010 10:50 pm
Reply with quote

Hello,

There is a "reason code" associated with the -804 that has not been posted.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Tue Nov 23, 2010 11:00 am
Reply with quote

Hi Anita,

This happens to be your first post in 5 years of joining. WOW!!

You have used the search engine, very well i guess.

I dont think -804 is related load module, consistency token or timestamp mismatch. Best way to find out the solution is to check the reason code as dick mentioned.


Sushanth
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Monitoring production job progress. N... JCL & VSAM 4
Search our Forums:

Back to Top