SYSROUTINEDEP

The SYSROUTINEDEP view records the dependencies of routines.

The following table describes the columns in the SYSROUTINEDEP view:

Table 1. SYSROUTINEDEP view
Column name System Column Name Data Type Description
SPECIFIC_SCHEMA SPECSCHEMA VARCHAR(128) Schema name of the routine instance.
SPECIFIC_NAME SPECNAME VARCHAR(128) Specific name of the routine instance.
OBJECT_CATALOG BCATALOG VARCHAR(128)
Nullable

Contains the null value if the relational database name was not specified.

Name of the relational database that contains the object.
OBJECT_SCHEMA BSCHEMA VARCHAR(128) Name of the SQL schema that contains the object.
OBJECT_NAME BNAME VARCHAR(128) Name of the object the routine is dependent on.
OBJECT_TYPE BTYPE CHAR(24) Indicates the object type of the object referenced in the routine:
ALIAS
The object is an alias.
FUNCTION
The object is a function.
INDEX
The object is an index.
MATERIALIZED QUERY TABLE
The object is a materialized query table.
PROCEDURE
The object is a procedure.
SCHEMA
The object is a schema.
SEQUENCE
The object is a sequence.
TABLE
The object is a table.

If the object does not exist at the time the routine is created or the OBJECT_SCHEMA is *LIBL, TABLE may be returned even though the actual object used at run time may be an alias, materialized query table, or view.

TYPE
The object is a distinct type.
VARIABLE
The object is a variable.
VIEW
The object is a view.
PARM_SIGNATURE SIGNATURE VARCHAR(10000)
Nullable
This column identifies the routine signature.

Contains the null value if the object is not a routine.

IASP_NUMBER IASPNUMBER SMALLINT Specifies the independent auxiliary storage pool (IASP) number of the object.
NUMBER_OF_PARMS NUMPARMS SMALLINT
Nullable
Identifies the number of parameters.

Contains the null value if the object is not a routine.