Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | Db Folder | Summary of Elements in this Folder | pub.db:getProcInfo
 
pub.db:getProcInfo
WmDB. Retrieves information about one or more stored procedures. As an alternative to this service, consider using the services provided with the webMethods Adapter for JDBC.
Input Parameters
You may specify the connection parameters in one of the following ways:
*$dbAlias
*$dbURL, $dbUser, $dbPass, $dbDriver
*$dbConnection
$dbAlias
String Optional. Database alias.
$dbURL
String Optional. JDBC URL that identifies the database resource.
$dbUser
String Optional. User name to use to log into the database.
$dbPass
String Optional. Password for the user.
$dbDriver
String Optional. Name of the JDBC driver to use.
$dbConnection
com.wm.app.b2b.server.DBConnection Optional. Connection object returned by pub.db:connect.
$dbCatalog
String Optional. Name of the database's system catalog. Include this parameter if your DBMS supports distributed databases and you want to retrieve information about a stored procedure that is not in the database to which you are currently connected.
If you are not using a distributed database system, you do not need to specify this parameter.
If you are running against DB2, use this parameter to specify the stored procedure's location.
$dbSchemaPattern
String Optional. Name of the schema to which the table belongs.
If your database supports pattern-matching on schemas, you may specify the schema name with a pattern-matching string, where _ represents a single character and % represents any string of characters. For example, the value HR% would represent any schema beginning with the characters HR.
If you are running against DB2, you use this parameter to specify the stored procedure's AuthID.
$dbProc
String Name of the procedure about which you want information.
Output Parameters
This service returns one document (IData object) for each item in the stored procedure's signature that matches the specified input criteria. Each document contains information about the signature item. The document's key will be the same as the signature item's name. For a description of what information is supplied by your database, seejava.sql.DatabaseMetaData.getProcedureColumns in your JDBC documentation.