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 Mar 6, 2018

UNREFERENCED/UNUSED Listing Sections

It would be helpful for code cleanup if there were sections in the listing that detailed unreferenced variables and unused subroutines, similar to the way the PL/I compiler shows them in the listing.

Idea priority Low
  • Guest
    Reply
    |
    Jun 22, 2020

    Hi, since we have not received any feedback, this RFE is being cancelled. Feel free to open a new one if you are able to answer the previous questions. Thanks.

  • Guest
    Reply
    |
    Jun 3, 2020

    May we know if you got a chance to review our April 14th, 2020 update?

    We shall keep this RFE open till June 17th, 2020 after which we shall close it if no response by then. Thanks.

  • Guest
    Reply
    |
    May 27, 2020

    May I know if you got a chance to review our previous update?

  • Guest
    Reply
    |
    Apr 14, 2020

    Hi,

    According to our docs, RULES(NOUNREF) reports both 01-level and 77-level items. In your previous comment, it looks like you want reports on unused data items of all levels (despite some of those being unsafe to remove, without careful testing, due to them changing the layout of data within 01-level items). May we know why you would need this?

    The effort to remove them would be substantial.

    Thanks.

  • Guest
    Reply
    |
    Apr 10, 2019

    Please use RULES(NOUNREF) sup-option which should satisfy the level 1 items. In general, is it the case that a bunch of subroutines are submitted to many link steps? Static calls within that list of subroutines? If that is the case, can you use the output from the binder to eliminate the non-referenced ones?

  • Guest
    Reply
    |
    Apr 12, 2018

    If it is easier to report level 1 items, them maybe we can start with those and come back to the deeper levels later, but eventually we'd like to see all levels of unreferenced variables reported. Also, if it is easier to add "UNREFERENCED" to column 45 of the existing " Cross-reference of data names", we can work with that, too. We can use an edit macro to isolate the unreferenced variables that way.

    I have never seen nested subroutines in our code, but nearly all of our code has multiple subroutines.

  • Guest
    Reply
    |
    Apr 11, 2018

    Hi, we would like to know if you needed more than just level 1 items reported? Also, do you have nested subroutines or multiple subroutines in a batch program?