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
Workspace z/OS Connect
Created by Guest
Created on Jun 16, 2021

Increased Functionality in the Transform on Response Mappings

Currently the multiple response code transform seems to happen after the IMS response message is placed in given response layout. I would like to request an option to have the transform happen before the IMS response message layout.

For Example:
If the Response Mapping was
01 COMPLETION-CODE
01 SUCCESS-MESSAGE
01 FAILURE-MESSAGE

Where a COMPLETION-CODE of 00 is SUCCESS and a COMPLETION-CODE of 02 is FAILURE.

We would like to be able to define a rule based on COMPLETION-CODE, if it were 00 move the remaining portion of the output message to SUCCESS-MESSAGE layout, but if it were 02, move the remaining portion of the output message to FAILURE-MESSAGE.

This is because, we send back the IMS Message through a shared routine that has a layout of:

01 COMPLETION-CODE
01 RESPONSE-MESSAGE

Where either the SUCCESS-MESSAGE or FAILURE-MESSAGE are moved to RESPONSE-MESSAGE.

In the current state, if we put a new response rule on COMPLETION-CODE with a remove transform on SUCCESS-MESSAGE, we don't get FAILURE-MESSAGE as it seems that the output IMS message data went to SUCCESS-MESSAGE and was removed.

I created this example to be simple, if a real scenario is needed or there are any other questions please contact me.

Idea priority Medium
  • Guest
    Reply
    |
    Sep 14, 2021

    This requirement has been evaluated. The requirements set out within the use case can be satisfied using the capabilities previously recommended, so correspondingly this requirement is being rejected. You have an opportunity to resubmit in twelve months time if you wish it to be considered then.

  • Guest
    Reply
    |
    Aug 23, 2021

    Please consider whether the following information provides the functionality you are looking to have:-

    The use of REDEFINES allows for mapping the IMS response data differently based on COMPLETION-CODE at the API layer. Consider the following response IMS data structure:
    01 OUTPUT-MSG.
    02 LL PIC S9(4) COMP-5.
    02 ZZ PIC S9(4) COMP-5.
    02 COMPLETION-CODE PIC 99.
    02 MESSAGE PIC X(160).
    02 SUCCESS-MESSAGE REDEFINES MESSAGE.
    03 FIRST-NAME PIC X(80).
    03 LAST-NAME PIC X(80).
    02 FAILURE-MESSAGE REDEFINES MESSAGE.
    03 ERROR-CODE PIC X(80).
    03 FILLER PIC X(80).
    When creating the IMS service, select COMPLETION-CODE, SUCCESS-MESSAGE, and FAILURE-MESSAGE in the Service Interface Editor; Ignore the warning about selecting multiple redefinitions of the same item. In the API Editor, define two response codes (e.g., 200 and 400). For 200, define rule COMPLETION-CODE=00 and apply the Remove transform to FAILURE-MESSAGE in the 200 Response Mapping. For 400, define rule COMPLETION-CODE=02 and apply the Remove transform to SUCCESS-MESSAGE in the 400 Response Mapping.

  • Guest
    Reply
    |
    Jun 21, 2021

    Thank you for this RFE.

    Looking at the use case provided it seems that it would be possible to use the Multiple Response Code Mapping capability that exists in z/OS Connect EE to satisfy this requirement:
    https://www.ibm.com/docs/en/zosconnect/3.0?topic=api-how-define-multiple-response-codes

    In the example above you would have a rule:
    - If COMPLETION-CODE is equal to 00 then - 200 OK - response mapping maps SUCCESS-MESSAGE and removes FAILURE-MESSAGE
    - Default case - HTTP 500 (or whatever HTTP error code you want to use) - response mapping maps FAILURE-MESSAGE and removes SUCCESS-MESSAGE

    Please let us know if this satisfies your requirement, and if not, please specify the capability that you need beyond what is available in the product today.