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 Aug 10, 2021

Include Response for HTTPPOSTCLOB Errors

Currently, the HTTPPOSTCLOB command discards the response received from the remote server if the HTTP response is not 200. We would like to be able to see the response regardless of success or error.


Use Case:

We have built an application to set up users in a remote system. Whenever we receive an error, we have to open up Postman and issue the POST from there so that we can see the response from the remote server. It would be much more valuable if we could capture the response when an error has occurred.


Idea priority Medium
  • Guest
    Reply
    |
    Nov 29, 2021

    IBM believes that the request described has been solved and is available by using the HTTPPOSTCLOBVERBOSE table function.

    There are two sets of HTTP functions in SYSTOOLS. The scalar functions, like HTTPPOSTCLOB, do not return complete response information. The HTTPPOSTCLOBVERBOSE table function does. You need to have the includeErrorMsg option set in the HTTPHEADER parameter in order to see the result.
    https://www.ibm.com/docs/en/i/7.4?topic=systools-http-function-overview
    https://www.ibm.com/docs/en/i/7.4?topic=overview-httppostblobverbose-httppostclobverbose-table-functions


    In September 2021 we delivered a new set of HTTP functions in QSYS2. These always return the response returned by the server, even in the error case where the http response is not 200. To get the error reported as an SQL error, the signalErrors options would need to be set.

  • Guest
    Reply
    |
    Nov 29, 2021

    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 - Client

    For recording keeping, the previous attributes were:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Application Development
    Operating system - IBM i
    Source - Client