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).
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.
However, we believe an alternate solution exists, which is described here.
The existing solution that we recommend is to use three-part names in your embedded SQL program. By including the RDB name in the SQL statement, the statement will be directed to that system to run. One way to do this is to use dynamic SQL to construct your statement "on the fly" for the target system. A more general solution is to create an SQL alias that references the remote system and use this alias name within your statement. You can use CREATE OR REPLACE ALIAS to change the system the alias is associated with prior to running the statement that uses the alias.
For example, in a package maybe you connect to a system and then run the following statement
CONNECT TO rmtsys1;
UPDATE applib.sales SET balance = balance - :payment WHERE account = :acct
Using a 3-part alias the change might look like this:
CREATE OR REPLACE ALIAS mylib.sales FOR rmtsys1.applib.sales;
UPDATE mylib.sales SET balance = balance - :payment WHERE account = :acct
The Update statement was modified to reference the alias instead of the actual table. When the update statement is run, the alias is used to identify the table. Since it references a table on RMTSYS1, the update is sent to that system to be run.
To change to run on a different system:
CREATE OR REPLACE ALIAS mylib.sales FOR rmtsys2.applib.sales;
UPDATE mylib.sales SET balance = balance - :payment WHERE account = :acct
Observe that only the ALIAS definition needed to change. The update statement is identical to what was used for RMTSYS1. Now, the update is sent to RMTSYS2 to be run.
The create alias statement can be run using dynamic SQL, so you can flexibly select what system to use. The statements that reference the alias can be static or dynamic SQL.
Db2 for i development team
IBM Power Systems Development