New DB Stored Procedure Param

Constructs a new instance of CwDBStoredProcedureParam that holds argument information for the parameter of a stored procedure.

Inputs

Param Type
The in/out parameter type of the associated stored-procedure parameter.

Param Value
The argument value to send to the stored procedure. This value is one of the following Java data types:

Output

Returns a new CwDBStoredProcedureParam object to hold the argument information for one argument in the declaration of the stored procedure.

Notes

The New DB Stored Procedure Param function block creates a CwDBStoredProcedureParam instance to describe one parameter for a stored procedure. Parameter information includes the following:

You provide a Java Vector of stored-procedure parameters to the Execute Stored Procedure function block (in the General\APIs\Database Connection folder), which creates a stored-procedure call from a stored-procedure name and the parameter vector, and sends this call to the database associated with the current connection.

Related information

This function block is based on the CwDBStoredProcedureParam constructor. For more information, see CwDBStoredProcedureParam().

Copyright IBM Corp. 2004