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 Other
Created by Guest
Created on Aug 5, 2010

equalize the behavior between ?transfer to transaction? and ?transfer to program? statement

We cannot use rununit.properties because we need different files per user. So we are trying to write a userdefined rununit in the Java start program for each user (userBB.properties) and each session. Each user has his own user defined printer files which are written in the application and which are defined in the user defined property file.

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
    |
    Oct 22, 2010

    This request is being rejected because it is not consistent with the EGL language.

    As documented in the original PMR, the customer is using an undocumented method to instantiate the EGL rununit using native Java class (wrapper in their example). When they instantiate the rununit, they supply a properties file name which becomes the "program.properties" (this is userBB.properties in their requirement and note this is NOT the name of the program..but an arbitrary name). When EGL does a transfer to program, it is starting a new program within the same rununit, so the properties are not re-read and it uses the ones established when the rununit started. Transfer to Transaction in EGL means the current rununit shuts down and a new rununit is started. Since this is being done EGL to EGL, there is not a native Java class instantiating the rununit to provide a "special properties file" so the normal properties search rules apply (user.properties in user.home, program.properties (name of program), and rununit.properties. This is why userBB.properties is not used on the "transfer to Transaction" since it does not match the program name.

    If unique properties need to be defined per user or per application, then this can be done by setting a unique user.home before the EGL generated programs are run. In this user.home, there can be a file named user.properties. The user.home can be set dynamically in the "invoker" class instead of setting the properties file name. Here is an example:

    // set up new user.home to current working directory + \\bin
    // user.dir not correct in deployed app..need to find some other way. ...but concept is the same.
    Properties p = new Properties(System.getProperties());

    String userdir = p.getProperty("user.dir") + "\\bin";
    System.out.println("userdir = " + userdir);
    p.setProperty("user.home", userdir);


    // set the system properties
    System.setProperties(p);
    System.getProperties().list(System.out);

    As noted in the comments, this code looks up the user.dir which is the workspace/project location. The compiled classes are in the \bin directory so running in the workbench (run as -> Java application) the user.properties file needs to be in \\bin. This is not the same working directory when running deployed..but some similar algorithm can be used to identify a location for the user.properties. Most likely the directory needs to be unique per user.

  • Guest
    Reply
    |
    Aug 7, 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.