A module language defined within SQL is used to create modules containing SQL statements. A module contains a set of procedure definitions where each procedure consists of parameter declarations and a single SQL statement. A procedure may be invoked by the procedure call statement of the programming language. The module, which is usually processed into some intermediate form, is generally associated with the calling program either when the program is linked or when the program begins execution.