This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. 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
Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,
Post an idea
Upvote ideas that matter most to you
Get feedback from the IBM team to refine your idea
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.
IBM Employees should enter Ideas at https://ideas.ibm.com
See this idea on ideas.ibm.com
We have a SQLPL with ARRAY type as INPUT/OUTPUT parm. REST Service allows to ‘create’ as service calling ‘SQLPL with ARRAY type as INPUT parm’ but throws error while calling the same service.
Method :POST
Scheme://HOST[“.” PORT][PATH][“?”QUERY]: http://CSMFTS01DB2.CDC.SCHWAB.COM:3260/services/SPGR0S/getArrayVal1
Body
{
"IN_ACCT_ID": "7996932","7997006","8000001","8000006"
}
Response: 500 Internal Server Error
Body
{
"StatusCode": 500,
"StatusDescription": "Execution failed for DB2 REST Service Manager getArrayVal1 during the invoke service process due to UNSUPPORTED SQL TYPE. Error Location:DSNLJSSP:10"
}
REST POST Service should return the result set for given multiple acct_id in array.
getArrayVal1 is defined as below –
{
"requestType": "createService",
"sqlStmt": "call REST_GET_ARRAY (:IN_ACCT_ID, :OUT_ITEM_ISSUE_ID, :OUT_SQLCODE, :OUT_SQLSTATE, :OUT_ERRORMSG)",
"collectionID": "SPGR0S",
"serviceName": "getArrayVal1",
"description": "Call SQL stored procedure to get a resultset ",
"owner": "P1DP057T",
"qualifier": "SAMS",
"validate": "BIND"
}
DB2 SQLPL ‘REST_GET_ARRAY’ is defined as below –
CREATE PROCEDURE REST_GET_ARRAY1(
IN IN_ACCT_ID INTARRAY,
OUT OUT_SQLCODE INTEGER,
OUT OUT_SQLSTATE CHAR(05),
OUT OUT_ERRORMSG VARCHAR(1000)
)
VERSION V1
NOT DETERMINISTIC
MODIFIES SQL DATA
CALLED ON NULL INPUT
DYNAMIC RESULT SETS 1
ALLOW DEBUG MODE
PARAMETER CCSID EBCDIC
Needed by Date | Oct 1, 2019 |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
We are closing this Idea as it is a Duplicate of Aha! Idea DB24ZOS-I-331.