Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. 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 IBM i
Categories Db2 for i
Created by Guest
Created on Jan 7, 2020

Ending jobs controlled when HTTPPOSTCLOB (generally a ibm jvm) is involved

We are on a V7R2 IBM i machine:
We have many self programmed prestart jobs which are correctly shut down on
subsystem end with option *cntrld. This was realized by evaluating the
job-end-flag in the main cobol program.

Now we faced a problem with the JVMs running inside those prestart jobs. If the
main cobol program calls a java-based program the JVM ends immediately without
finishing their actual work. Right after the endsbs command did run, the JVM
was ended. For the JVMs it seems that *cntrld does not matter in any way. To point that out: The jvm runs inside the cobol job. it is not a seperate job doing only the java stuff (see support case).

After the JVM did quit abnormaly, the control goes back to the main cobol
program which then will finsh its work (but it can't really as the response from HTTPPOSTCLOB is not there due to the immdiate cancel of th jvm inside the job) and ends correctly.

For us a correct behaviour would be, that the jvm is not immediately terminated, but ends its work like the cobol part and then terminates with the program.


Use Case:

We are on a V7R2 IBM i machine:
We have many self programmed prestart jobs which are correctly shut down on
subsystem end with option *cntrld. This was realized by evaluating the
job-end-flag in the main cobol program.

Now we faced a problem with the JVMs running inside those prestart jobs. If the
main cobol program calls a java-based program the JVM ends immediately without
finishing their actual work. Right after the endsbs command did run, the JVM
was ended. For the JVMs it seems that *cntrld does not matter in any way.

After the JVM did quit abnormaly, the control goes back to the main cobol
program which then will finsh its work (but it can't really as the response from HTTPPOSTCLOB is not there due to the immdiate cancel of th jvm inside the job) and ends correctly.

For us a correct behaviour would be, that the jvm is not immediately terminated, but ends its work like the cobol part and then terminates with the program.


Idea priority Urgent
  • Guest
    Reply
    |
    May 22, 2023
    IBM believes that the solution for the Idea described is available with the introduction of the QSYS2-based HTTP functions.

    The HTTP functions in QSYS2 do not use Java, so they do not have the problems associated with JVMs.

    These functions were introduced in 2021 with IBM i 7.4 SF99704 Level 15 and IBM i 7.3 SF99703 Level 26. They are available in the base of IBM i 7.5.

    See this page for details:
    https://www.ibm.com/support/pages/node/6486889
  • Guest
    Reply
    |
    Feb 27, 2021

    IBM will use this request as input to planning but no commitment is made or implied. This request will be updated in the future if IBM implements it.

  • Guest
    Reply
    |
    Jun 23, 2020

    The CAAC has reviewed this requirement and recommends that IBM view this as a medium priority requirement that should be addressed. A graceful end at program termination is expected and should be provided.

    Background: The COMMON Americas Advisory Council (CAAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CAAC has a key role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community, and has therefore reviewed your RFE.

    For more information about CAAC, see www.common.org/caac

    For more details about CAAC's role with RFEs, see http://www.ibmsystemsmag.com/Blogs/i-Can/May-2017/COMMON-Americas-Advisory-Council-%28CAAC%29-and-RFEs/

    Nancy Uthke-Schmucki - CAAC Program Manager

  • Guest
    Reply
    |
    May 15, 2020

    Due to processing by IBM, this request was reassigned to have the following updated attributes:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Db2 for i
    Operating system - IBM i
    Source - Large User Group (LUG)

    For recording keeping, the previous attributes were:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - JAVA
    Operating system - IBM i
    Source - Large User Group (LUG)