DB2 Server for VSE & VM: Interactive SQL Guide and Reference


Chapter 7. Creating and Using Routines

A routine is a series of ISQL commands, SQL statements, or both, which is stored under an identifying name. When a routine is run, each command or statement in the routine is performed as if it had been typed from the keyboard. Routines save (and later run) frequently-used sequences of commands and statements, such as a series of ISQL SET commands that set certain operational characteristics.

Routines offer a number of features to users. In addition to using them to perform a frequently used set of commands or statements, you can:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]