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
Categories EGL Language
Created by Guest
Created on Mar 30, 2010

remove 65535-limit for arrays according to java method size limitation

Hello,
I've inserted the following problem as pmr71243 and was asked by my contact Mark, to insert a rfe.

Here the problem description and some information out of pmr71243:
I can't find any information about a limitation for the dimension of arrays in a record. So I would like to have an array with 100000 occurences of one character like shown in my sample program down here. Aparently it's working fine only up to 65535 occurences, like you could see in the output of my sample program "hugeRec".

Our suggestion is to remove this limit, because in Jave arrays with 100000 fields are possible.

program hugeRec type BasicProgram(parm1 int, parm2 string){}
hugeInst1 hugeRec1;
hugeInst2 hugeRec2;
function main()
syslib.writestdout(syslib.size(hugeInst1.hugeTab1));
syslib.writestdout(syslib.size(hugeInst2.hugeTab2));
end
end
record hugeRec1
10 hugeTab1 [65535];
15 smallElem char(1);
end
record hugeRec2
10 hugeTab2 [65537];
15 smallElem char(1);
end
And this the output:
65535
1

Here the responses from Mark:
Hi Andreas,
Regarding the above PMR, I am currently assigned to investigate this
issue and I recall a similar behavior as EGL in RBD v7.x conforms
closely to Java specifications when generating the applicable Java code
and there is a Java limitation where a method cannot exceed an 65535
bytes limit ie http://bugs.sun.com/view_bug.do?bug_id=4262078

I recall in that scenario the only workaround was that the associated
artifacts within the EGL functions producing this error had to be broken
up into two or more functions to enable the generated Java methods to
adhere to the restriction. I will therefore check if this is indeed the
same related issue and for any applicable documentation. Unfortunately
if as I suspect this does refer to the same Java issue the only way we
could get development to address this is via an enhancement request
because it would fundamentally be working as designed.

I will let you know what my research finds as soon as possible.
Thanks and Regards
Mark

Hi Andreas,
Regarding the above PMR, it appears my initial indication relating to
this limitation was correct I have also found the following tech note
detailing a similar description ie
http://www-01.ibm.com/support/docview.wss?uid=swg21419348 .

Development therefore suggested to create an enhancement request (RFE)
for your preferred behavior to be included in a future release. However
if its a critical, important issue for you I can try once again to
pursue with them directly via an escalation just let me know?
Thanks and Regards
Mark

Idea priority High
  • 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
    |
    Jul 24, 2013

    This RFE is being rejected as the product team does not view this as a likely change to be done within the current product planning horizon.

  • Guest
    Reply
    |
    May 31, 2011

    Dear Sir or Madam,
    would you please write about your plans to support larger arrays for JavaGen?
    kind regards
    Andreas Gronert

  • Guest
    Reply
    |
    Apr 21, 2010

    Currently we have this restriction because it's a limitation for COBOL. However, since java can support larger arrays, we agree that it would be a good idea to make this limit be different between EGL COBOLgen and JavaGen. We will consider this in our planning for future releases.