This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
Shape the future of IBM!
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Search existing ideas
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updateson them if they matter to you. If you can't find what you are looking for,
Post your ideas
Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,
Post an idea
Upvote ideas that matter most to you
Get feedback from the IBM team to refine your idea
Specific links you will want to bookmark for future use
In reference to this Db2 for z/OS idea (link), we need the same functionality for all platforms including Db2 for LUW.
I quote the text from the other RFE:
Currently there is documented maximum timestamp value available in DB2 as '9999-12-31-24.00.00.000000'. However, using this value can lead to various problems which are recognized by DB2 development already as during introduction of temporal tables, the maximum timestamp for temporal objects generated by Db2 is '9999-12-30-00.00.00.000000'
Below quote from PMR with IBM explanation why currently documented maximum timestamp is wrong and in fact should not be used.
when you use a getTimestamp or getString call to retrieve data from a TIMESTAMP(p) column, the IBM Data Server Driver for JDBC and SQLJ converts the value to a java.sql.Timestamp. It turns out that java.sql.Timestamp is based on java.util.Date which represents hours as values from 0 to 23. Unlike the DB2 family support of SQL, the value 24 is not part of the lexical representation for Java. Hence, 24.00.00.000000000000 becomes 0.00.00.000000000000 of the next day. For example, the value '2010-11-03-24.00.00.000000000000' would be shown as '2010-11-04-00.00.00.000000000000'. Apart from Java tools such as Data Studio, this issue may lead to problems (or confusion) for Java developers. With the DB2 10 for z/OS support of bitemporal data, this problem is further amplified because a maximum timestamp value is stored in the ROW END of every column in a system-period temporal table. DB2 uses '9999-12-31-24.00.00.000000000000' as that end value, and when these timestamp values are later externalized through Data Studio they are returned as as 10000-01-01 00:00:00.0 which does not make sense to the user because DB2 does not support 5-digit years.
SQL council agreed that better value will be in the temporal tables case the '9999-12-30-00.00.00.000000' - also to allow conversion from data type timestamp without timezone, to timestamp with timezone, which would end in error for value like currently documented maximum timestamp.
This should be changed and maximum value should be unified across all objects with some possible migration help otherwise it seems like DB2 development consciously allows to use value which is not fully supported by DB2 and which in result present a problem.
Do not place IBM confidential, company confidential, or personal information into any field.