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 Future consideration
Categories Other/Unknown
Created by Guest
Created on Feb 3, 2019

Detect column of THEN and ELSE in IDz Code Review for COBOL

One of our installation rules for coding "best practice" COBOL programs requires that the programmer codes the (optional) THEN keyword and the (required, if applicable) ELSE keyword in the same column as the corresponding IF keyword. Statements following the THEN and ELSE keywords must be indented by a number of columns.

To this end we wish to add a locally developed Code Review rule which will be activated from within the "COBOL Software Analysis" function of IDz. Unfortunately we are currently unable to do so.

The "IfThenElseStmt" interface implementation permits the following actions: "getThen().getBeginColumn()" and "getElse().getBeginColumn()". However, these actions do NOT supply the beginning columns of the actual THEN and ELSE keywords. They instead supply the beginning columns of the first statements belonging (correspondingly) to the THEN and ELSE parts of the IF statement.

This situation makes us unable to test the coding rule thoroughly.

Some coding rules may be considered "nice to have" as they only apply in rare cases. However this coding rule applies many times in almost every single COBOL program. It is therefore essential that the rule be tested to the utmost extent.

Actions should be added to the "IfThenElseStmt" interface to supply the beginning columns of the THEN and ELSE keywords, if they are coded.

Our current level of IDz is: Version 14.1.4

Additional Keywords: IDz, RDz, IBM Developer for z Systems

Idea priority High
  • Guest
    Reply
    |
    Mar 10, 2019

    Thank you for taking the time to suggest an enhancement to our product. Many of our product enhancements result from feedback from our customers, so your input is always very important to us. Your request is currently inline with our product strategy and we have planned it for a future release of the product. Thank you for your suggestion and continued support.