The sysprocedures system catalog table

When any session requires the use of an SPL routine for the first time, the database server reads the sysprocedures system catalog tables and stores the information in the buffer pool in shared memory. The database server uses this information in shared memory if it is present for subsequent sessions that invoke the UDR.

The database server keeps the sysprocedures system catalog information in the buffer pool on a most recently used basis.

The sysprocedures table includes the following information:
  • Name of routine
  • Compiled size (in bytes) of return values
  • Compiled size (in bytes) of p-code for the routine
  • Number of arguments
  • Data types of parameters
  • Type of routine (function or procedure)
  • Location of external routine
  • Virtual-processor class in which the routine executes