The application can get information about procedures using the following functions:
Returns information about how CA IDMS supports procedures:
Gets a list of the procedures defined in the SQL catalog.
The PROCEDURE_TYPE column in the result set is always SQL_PT_PROCEDURE, which indicates that the procedure does not return a value.
The result set includes 3 additional columns, which are partially defined by ODBC, but "reserved for future use":
|
Name |
Number |
Type |
|---|---|---|
|
NUM_INPUT_PARMS |
4 |
SMALLINT |
|
NUM_OUTPUT_PARMS |
5 |
SMALLINT |
|
NUM_RESULT_SETS |
6 |
SMALLINT |
The NUM_RESULT_SETS column indicates the maximum number of result sets that can be returned from a procedure.
Gets the parameter descriptions for one or more procedures from the SQL catalog. The COLUMN_TYPE for all parameters is SQL_PARAM_INPUT_OUTPUT.
|
Copyright © 2009 CA.
All rights reserved.
|
|