I don't know why when my batch COBOL/DB2 program abends, the previously processed MQ messages (using MQGET) are still on the queue even if I issued a EXEC SQL COMMIT END-EXEC. The database changes have taken effect but all messages stay in the queue. Is there another way of issuing some kind...
Hi.
I have a table with a column defined as TIMESTAMP.
Is it possible to insert a value into this column, using
a variable PIC X(26) containing a value in DB2 format "YYYY-MM-DD-HH.MM.SS.ssssss" ?
Thanks.
T. Blom,
Thanks for the immediate response. Yes, there are 3 indices defined for this table but none include this date field. We are working with our clients to see if they would be flexible enough to do a search based on other columns too.
Hi all.
My application is having timeout problem due to the length of time to execute a DB2 Select statement. It is going against a table, averaging about 18 million records with 22 columns. This sql statement has one WHERE condition, a date field which is NOT part of any index. I have asked...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.