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 Jan 4, 2017

Expand text of IBM1085I + add "Used but Unset Identifiers" to listing + add RULES(NOUNSET) with ALL | SOURCE as suboption

We have programmers initializing every bit and byte with the INIT attribute in the declaration. Although technically correct this is often completely useless as the correct value has to be set while processing. This programming behavior is bad because of two reasons:

- It bypasses the message IBM1085I.
- If may have a negative performance impact.

This is why we have two ideas to improve that situation:

1. We would like to get the text of the message IBM1085I expanded, so that programmers get more directed in the direction to set as value instead of to write INIT for all and everything:
 IBM1085I W variable may be not set and uninitialized when used.

 Explanation: The indicated variable may be used before it has been set or initialized.

2. We would like to get an new UNSET processing similar to the existing UNREF processing:
 a) New listing section “Used but Unset Identifiers” similar to “Unreferenced Identifiers”, with all variables listed, which are used but never set (at all) – although they are maybe initialized via INIT.

 b) New RULES suboption such as [NO]UNSET similar to [NO]UNREF to issue a compiler message:
 - With NOUNSET as default
 - With ALL (default) and SOURCE as suboption for UNSET

This UNSET processing has to cover untyped & typed, automatic & static variables, similar to the expanded coverage of UNREF requested via the separate RFE 99282.

Idea priority Low
  • Guest
    Reply
    |
    Jun 3, 2020

    Delivered as part of APAR PH25933 / PTF UI69864 for 5.3

  • Guest
    Reply
    |
    Feb 1, 2017

    Static variables have always an init value, even if they are not explicity initialised.
    CHAR fields with Blank and Numeric variables with 0.

    Therefore you do not need to check static.

  • Guest
    Reply
    |
    Jan 7, 2017

    This would be helpful