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).
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:
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 an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
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.
Since we have not heard back from you, we'll assume the provided date & time functions that we plan to implement will be sufficient.
As a result, we'll be closing this RFE. Feel free to open a new RFE if you have any further improvements.
Since we have not heard back from you, we'll assume the below mentioned date and time functions are sufficient.
We shall go ahead and close this RFE by Wednesday, June 3rd, 2020 if no response by then. Feel free to open a new RFE if further enhancements need to be evaluated.
Thanks.
Hi,
With the upcoming COBOL Standard, there are some new date and time functions that are in plan and being implemented.
The following list is being worked on and will get us on par to the COBOL Standard:
COMBINED-DATETIME
FORMATTED-CURRENT-DATE
FORMATTED-DATE
FORMATTED-DATETIME
FORMATTED-TIME
INTEGER-OF-FORMATTED-DATE
SECONDS-PAST-FORMATTED-TIME
SECONDS-PAST-MIDNIGHT
TEST-DATE-YYYYMMDD
TEST-DAY-YYYYDDD
TEST-FORMATTED-DATETIME
If the above list is not sufficient, please point out which routines you are having performance issue with.
Thanks!
Thanks for the reply. We are investigating based on your recent update.
We also have a date subroutine that invokes LE, but a simple functional implementation would be nice. Allow a more complex format with "-" or '/' and two dates and a delta. Provide operations of say, FORMAT, ADD, SUBTRACT, and DIFFERENCE. I know it's never enough, but it might be a start. The programmer may need a couple of functions to get to the final answer, but that makes the day intersting.
move CALCDATE (format, 20200219, mm/dd/yyyy) to my_date
move CALCDATE (add, 20200229, 15) to my_date
calculate CALCDATE (diff, 20201231,20200229) = nbr_days
calculate CALCDATE (diff, [function] CURRENT-DATE, 20912131) - nbr_days
Due to processing by IBM, this request was reassigned to have the following updated attributes:
Brand - Servers and Systems Software
Product family - Programming Languages
Product - COBOL Compilers
For recording keeping, the previous attributes were:
Brand - Rational
Product family - Design & development
Product - COBOL Compilers
Hi Sangameswara,
The date functions are all provided by IBM already via
1) Date intrinsic functions in COBOL and 2) LE Callable services.
Can you please consider using those?