Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. 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 Not under consideration
Workspace IBM i
Created by Guest
Created on Jun 19, 2017

Edit Code extension to show only the day-month portion of a date; strip the fractional portion of a numeric variable

Some times there is not enough room on the screen for a full date. In order to manage, only the month-day of the date are shown. Furthermore, Some times it is enough to dispaly only the day prtion, because the year and month are on top of the screen. The way the programmers are doing now is to extract the day-month portion from the date variable to a shorter variable in format DDMM or MMDD depending on the country, and display that shorter variable on the screen.

It would be nice if this will be an opearting system function, a special edit code or edit word. It will eliminate the extra coding and extra variables etc.

The same could be done with numeric large varaibles - to strip the fractional portion of the number, or have only the thousands or millions display or print (after rounding).


Use Case:

DATE = 2017-11-25

Here is the way it will be dispalyed depending on the edit code:
EDTCDE(Y-MM/DD) // it will display 11/25
EDTCDE(Y-DD/MM) // it will display 25/11
EDTCDE(Y-DD) // it will display 25
EDTCDE(Y-MM/DD/YY) // it will display 11/25/17

Number = 25610365.571-

EDTCDE(J-M) // will show only millions: -26M
EDTCDE(J-K) // will show only thousands: -25610K
EDTCDE(J-1) // will show only one fractional: 25610365.6-


Idea priority Low
  • Guest
    Reply
    |
    Jul 6, 2020

    There are several options for working around this, IBM has no plans on providing this support at this time.