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 Jan 28, 2010

Lifetime / Persistence of called programs [RTC 36149]

When migrating programs from legacy languages like Cobol or RPG to EGL we often encounter the problem that in all these languages the programmer has control about how long a program stays in memory.

- In Cobol the developer just can CANCEL another program in memory.
- In RPG the program itself determines according to the status of *INLR if it should stay in memory or not after leaving the program.

In EGL programs and all their variable content is lost after leaving a called program. There we only have the possibility to create a library which is a whole other thing compared to a called program.

This major architectural difference between legacy code and EGL makes it very difficult to do highly automated migrations.

So what we would need is an enhancement that is similar to the COBOL CANCEL instruction.

- PGM A (main) calls B
- B returns but stays in memory
- A calls B again
- B now works with all the values from the first call but the parametes
- B returns but stays in memory
- A says ... ok, don't need B anymore, I'll CANCEL it. B is now removed from memory.

Especially in Java generation this would also have a major impact on performance because we reuse all the objects already available from the first call.

This feature is needed for Java generation as well as for Cobol generation. From a performance perspective the implementation for Java Generation is more critical for us. From a functional perspective this enhancement is critical for Java as well as for Cobol generation.

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
    |
    Apr 14, 2010

    In RBD 7.5.1.5, a new annotation, unloadOnExit, has been added to control when a called program instance should be reused. See the product documentation for the details on how to use this option in Java and COBOL environments

  • Guest
    Reply
    |
    Feb 24, 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
    |
    Feb 23, 2010

    We agree that this would have a positive effect on runtime performance. We hope to implement this in a 7.5.x fix pack.