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 Not under consideration
Workspace COBOL Compilers
Created by Guest
Created on Jan 31, 2014

Compiler option to eliminate ZAP instructions that fix the sign on zero results

In the case of a packed decimal overflow, the result may be a negative zero. The compiler generates a ZAP instruction to make these potential negative zeros into positive zeros. In compute intensive applications, this can lead to a lot of ZAP instructions to fix a situation that might not ever occur.

The customer wishes to have a compiler option to disable the generation of these corrective instructions.

Idea priority Medium
  • Guest
    Reply
    |
    Jun 4, 2020

    While reviewing our RFE backlog, we have come to the conclusion that there aren't the same number of ZAPs on z14/z15 because of the vector packed instructions. As a result, we will be rejecting this RFE.

  • Guest
    Reply
    |
    Sep 14, 2015

    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

  • Guest
    Reply
    |
    Apr 28, 2014

    Thanks. The feature, for a new comp type that would have these relaxed sign code restrictions so the scope of the change could be limited to known safe cases in the code, has been prioritized, but not put into plan yet. Once it has been put into plan, this RFE will be updated.

  • Guest
    Reply
    |
    Apr 21, 2014

    Yes, we would be interested in using a new Comp type. We understand that this would indeed limit the scope of the modifications to the generated code.

  • Guest
    Reply
    |
    Apr 17, 2014

    Hi,

    We've looked into this request a bit more and consulted a wider audience. The general response was that although this sounded like an interesting option there wouldn't be many users of it as they would have a very hard time guaranteeing or convincing themselves that it was safe to use. This is because they would not know in general what assumptions external consumers of the COBOL data had regarding sign codes and what might/could break if the option was used.

    A suggestion was that instead of making it a compile option it might be more useful as a new comp type that would have these relaxed sign code restrictions so the scope of the change could be limited to known safe cases in the code.

    May we know if you are interested in such a new comp type?

    Thanks.

  • Guest
    Reply
    |
    Mar 25, 2014

    The emphasis in the PMR originating this request was on ZAPs following packed decimal arithmetic. That arithmetic would understand produce preferred signs, leaving only the potential negative zeros.

    Straight moves would continue to use ZAP if preferred signs are required.

  • Guest
    Reply
    |
    Mar 24, 2014

    Hi John, just a clarification on your previous reply, may we know if you could tolerate non-preferred signs as well as tolerating negative zero.

    The reason being, ZAP fixes up both (ie negative to positive zero and also ensures the preferred positive and negative signs are used for all values).

    We would need this info to determine the scope of this feature item.

    Thanks!

  • Guest
    Reply
    |
    Feb 18, 2014

    Yes we are interested in the preferred signs case. I initially thought that this option would eliminate the ZAP referred to in the initial request but it did not

  • Guest
    Reply
    |
    Feb 18, 2014

    We would like to know if you are also interested in the preferred signs case?
    We look forward to hearing back from you.