Running stored procedures from the Db2 command line processor

As an alternative to calling a stored procedure from an application program, you can use the Db2 command line processor to invoke stored procedures.

Procedure

To run a stored procedure from the Db2 command line processor:

  1. Invoke the Db2 command line processor and connect to the appropriate Db2 subsystem. For more information about how to perform these tasks, see The Db2 command line processor.
  2. Specify the CALL statement in the form that is acceptable for the Db2 command line processor.