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

Decfloat column in DB2 V9 for zOS


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

New User


Joined: 04 Nov 2008
Posts: 28
Location: Mumbai

PostPosted: Wed Jan 20, 2010 8:56 pm
Reply with quote

Hi all,

We are facing a major issue while running a java application which accesses a table having a decfloat column defined.

Our application and DB2 platform is on zOS v1R9.
The table was initially created with decimal datatype in one of the columns.
Later we came to know about decfloat from the link

www.ibm.com/developerworks/data/library/techarticle/dm-0801chainani/

It had mentioned that we can alter the column datatype from decimal to decfloat and we did so..

Now, yesterday we ran REORG and RUNSTATS on our table having that particular column. Since then we are facing a problem while running select queries with where clause on that table...

for eg.
SELECT * FROM EMPLOYEE WHERE SALARY > 50000.

Here my Salary column is of decfloat datatype and while running this query using comparison operators ( < , > ) , we are getting following error through Java appliaction

Execution failed due to a distribution protocol error that caused re allocation of the conversation.

And this error through QMF:

Explanation:

o DB2 Message ID: d

o SQLERRD1/SQLERRD2/SQLERRD3: 00000000 00000000 00000000

o SQLERRD4/SQLERRD5/SQLERRD6: FFFFFFFF 00000000 00000000

o DB2 Reason Code: 0

DB2 Product ID: DSN08010

Message No: DSQ10496 SQL Code (SQL State): -901 (58004)



One thing to note is we are not getting any error if we are using '=' operator.

Can you help us out through this.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Wed Jan 20, 2010 9:03 pm
Reply with quote

very little we can do from here,
wouldn' t be better to open an issue with IBM ?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Jan 20, 2010 10:05 pm
Reply with quote

instead of > or <, just for giggles try
BETWEEN 5000 AND 999999999
(or what ever the max is).
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts ISPF Table to add a new column TSO/ISPF 1
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts How to load to DB2 with column level ... DB2 6
No new posts RC query -Time column CA Products 3
Search our Forums:


Back to Top