Use the Run Options window to specify values for input parameters before running an SQL or SPL procedure or function. You can also specify scripts to run before or after the routine is run.
You can also use the Run Options window to specify values for
input parameters when you are debugging an SQL procedure.
To open the Run Options window:
If the data type of a parameter is CLOB,
when you click its Value cell, the
button is displayed. Either type a value in the
cell or click the button and select a file to use as
the parameter value for the CLOB.
If the data type of a parameter is BLOB,
when you click its Value cell, the
button is displayed. Either type a value in the
cell or click the button and select a file to use as
the parameter value for the BLOB.
If the data type of a parameter is XML, when you click
its Value cell, the
button is displayed.
Click the button, and then in the Open window, select
the file whose content provides the XML value for the
parameter.
Version 9.7 for
Linux®, UNIX®, and
Windows®, or later: If a parameter is an array
data type, when you click its Value cell, the
button is displayed.
Click the button, and then in the
Specify Array
Values window, enter values for the array.
This button is shown only when you open the Run Options window through the Run command on a routine shortcut menu.
This button is shown only when you open the Run Options window through the Step Into command on a procedure shortcut menu.
This button is shown only when you open the Run Options window through the Discover button in the Result Set Definitions window.
Running Procedures or Functions | IBM Data Designer | Array Parameters in DB2 SQL Procedures