

An SQL-PL module that starts with the keyword PROC and is defined with the option SUBPROC designates a dependent DB procedure. A dependent DB procedure can be called by other DB procedures by means of CALL PROC.
The parameter list of a dependent DB procedure corresponds to that of a normal SQL-PL routine. This has the advantage that DB procedures can communicate with dependent DB procedures via vectors.
Syntax:


