Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. 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 updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Categories z/TPF
Created by Guest
Created on Jul 21, 2023

(TPFUG) > 2042 TOD support - New APIs to assist in remediation strategies

The STCK/STCKF 8 byte format TOD will wrap in 2042. To help customers remediate issues in their code as early as possible and to avoid customers writing additional code that subsequently needs remediation, we would like IBM to provide new datatype and function support to assist with two specific remediation strategies. 

1) "8 byte TOD bracketing support" (8 byte TOD format and if bit 0 is 0 then assume TOD has wrapped

- create a new data type for a bracketed 8 byte TOD. Main benefits would be so that it was clearer in code when a bracketed TOD was being used and so that a bit field defintion for bit 0  could be created to make tests for a wrapped TOD easier. 

- Create a function similar to tpf_STCK_to_timet that supports passing in a bracketed 8 byte TOD. Convert the passed 8 byte TOD to a STCKE format and if bit 0 of the passed TOD is 0 then set the epoch byte to 1. Could consider just enhancing the existing function but a different function name would help identify cases where bracketed TOD values were being supported.

- Provide macros such as a LT test on two bracketed TODs (much like STCKE_LT etc macros in c_stcke.h) with assembler equivalent (inline macro that could be used in the CP as well as e-types)

 

2) Alternative 8 byte TOD format that is 1 byte epoch + 7 bytes of STCK format TOD

- define a new TOD data type for this format

- provide new APIs to convert this new type to a time_t and a time_t to this new type

Idea priority High
  • Guest
    Reply
    |
    Oct 4, 2023
    This is now available with z/TPF APAR PJ47142.