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 Delivered
Workspace PL/I Compilers
Created by Guest
Created on May 9, 2016

Advanced RULES(NOUNREF)

For Quality of Source, we would like to have a Compilermessage not only for Unreferenced Automatic Variables, but also for all other unreferenced types.
Please always check the usage. IF the rules are true, put a compilermessage out instead to the Unreferenced Identifiers section, otherwise just put them to the Unreferenced Identifiers section.
Check for only the LEVEL-1 and some prefixes are OK.

original Compile Option: RULES(NOUNREF(ALL|SOURCE))
example of new option:
RULES(NOUNREF(ALL(AUTO|NOAUTO, STATIC|NOSTATIC, ENTRY|NOENTRY, FILE|NOFILE, LABEL/NOLABEL, NAMEDCS/NONAMEDCS, BASED|NOBASED, DEFINED|NODEFINED)|SOURCE(AUTO|NOAUTO, STATIC|NOSTATIC, ENTRY|NOENTRY, FILE|NOFILE, LABEL/NOLABEL, NAMEDCS/NONAMEDCS, BASED|NOBASED, DEFINED|NODEFINED))

AUTO : unreferenced AUTOMATIC Variables raise a Compilermessage and are not in the Unreferenced Identifiers.
NOAUTO : unreferenced AUTOMATIC Variables goes to the Unreferenced Identifiers and do not raise a compilermessage.
STATIC : unreferenced STATIC Variables raise a Compilermessage and are not in the Unreferenced Identifiers.
NOSTATIC : unreferenced STATIC Variables goes to the Unreferenced Identifiers and do not raise a compilermessage.
ENTRY : unreferenced Entries raise a Compilermessage and are not in the Unreferenced Identifiers.
NOENTRY : unreferenced Entries goes to the Unreferenced Identifiers and do not raise a compilermessage.
FILE : unreferenced Files raise a Compilermessage and are not in the Unreferenced Identifiers.
NOFILE : unreferenced Files goes to the Unreferenced Identifiers and do not raise a compilermessage.
LABEL : unreferenced Lables raise a Compilermessage and are not in the Unreferenced Identifiers.
NOLABEL : unreferenced Lables goes to the Unreferenced Identifiers and do not raise a compilermessage.
NAMEDCS : unreferenced Named Constants raise a Compilermessage and are not in the Unreferenced Identifiers.
NONAMEDCS: unreferenced Named Constants goes to the Unreferenced Identifiers and do not raise a compilermessage.
BASED : unreferenced Based Variables raise a Compilermessage and are not in the Unreferenced Identifiers.
NOBASED : unreferenced Based Variables goes to the Unreferenced Identifiers and do not raise a compilermessage.
DEFINED : unreferenced DEFINED Variables raise a Compilermessage and are not in the Unreferenced Identifiers.
NODEFINED: unreferenced DEFINED Variables goes to the Unreferenced Identifiers and do not raise a compilermessage.

Maybe there is a better abbrevation of NAMEDCS.
Maybe there are some more Types of Variables we did not find out.


Thank you,
Patrick

Idea priority Low
  • Guest
    Reply
    |
    Feb 15, 2017

    This is available via APAR PI76421 / PTF UI44689

  • Guest
    Reply
    |
    May 11, 2016

    doing at least some of these would be a good idea

  • Guest
    Reply
    |
    May 10, 2016

    As Patrick already wrote those messages would be useful to detect unused code and declarations.

  • Guest
    Reply
    |
    May 10, 2016

    It would be very helpful for better Quality.

  • Guest
    Reply
    |
    May 9, 2016

    Yes, that would be very nice to improve the quality of our source code.