Output options are provided for the creation of stored procedures from the SQL generated for various types of analysis. The Teradata DBMS supports the creation of stored procedures containing SQL, control statements and optional parameters that are passed when the procedure is invoked with a CALL statement. The specific functions that provide this option, the parameters if any that are available, and the means of requesting this option are described in the following sections.