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
Categories EGL Language
Created by Guest
Created on Oct 28, 2009

Generate Java static final fields for EGL constants [RTC 32247]

Currently, from the following EGL code

library constants type BasicLibrary
const y41_True unicode(1) = "1";
const y41_False unicode(1) = "0";
const n01_True unicode(1) = "Y";
const n01_False unicode(1) = "N";
?

the following Java code is generated

public class constants_Lib extends com.ibm.javart.resources.Program
{
private static final long serialVersionUID = 70L;

public final constants_Lib ezeProgram;
public com.ibm.javart.UnicodeValue y41_005fTrue;
public com.ibm.javart.UnicodeValue y41_005fFalse;
public com.ibm.javart.UnicodeValue n01_005fTrue;
public com.ibm.javart.UnicodeValue n01_005fFalse;
?

public constants_Lib( com.ibm.javart.resources.RunUnit ru ) throws Exception
{
super( "constants_Lib", "constants", ru, false, true );
ezeProgram = this;
_runUnit().addLibrary( "constants_Lib", this );
y41_005fTrue = new com.ibm.javart.UnicodeItem( "y41_True", com.ibm.javart.Value.SQL_NOT_NULLABLE, 1, true, "U1;" );
y41_005fFalse = new com.ibm.javart.UnicodeItem( "y41_False", com.ibm.javart.Value.SQL_NOT_NULLABLE, 1, true, "U1;" );
n01_005fTrue = new com.ibm.javart.UnicodeItem( "n01_True", com.ibm.javart.Value.SQL_NOT_NULLABLE, 1, true, "U1;" );
n01_005fFalse = new com.ibm.javart.UnicodeItem( "n01_False", com.ibm.javart.Value.SQL_NOT_NULLABLE, 1, true, "U1;" );
?

We would expect the y41_ and n01_ fields to be static and final. The former, in particular, would avoid the need for new UnicodeItems in each run unit.

Idea priority Medium
  • 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 - Business Developer

    For recording keeping, the previous attributes were:
    Brand - Rational
    Product family - Design & development
    Product - Business Developer

  • Guest
    Reply
    |
    Apr 14, 2010

    This RFE's Headline was changed after submission to reflect the headline of an internal request we were already considering, but will now track here.

  • Guest
    Reply
    |
    Apr 14, 2010

    This enhancement has been implemented in RBD 7.5.1.5.

  • Guest
    Reply
    |
    Nov 12, 2009

    Thank you for this suggestion. This enhancement would have a positive impact on java runtime performance. This is a candidate for implementation in a near-term 7.5.x fix pack.