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).
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:
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 an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
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.
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.
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.
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.