Specify the name of a logical grouping for stored procedures, which is used as the second part of the three-part name. Click [...] to search for an existing schema name. Read-only if you are altering a procedure.
Opens the List Schemas window where you can browse for the schema name.
Type a name for the stored procedure. The name must not duplicate an existing stored procedure at the current server. Read-only if you are altering a procedure.
Optional: Type the name of the package collection to use when the stored procedure is executed.
Specify whether or not the stored procedure can contain SQL statements, and if it can, of what type.
Optional: Specify the maximum number of query result sets that can be returned by this stored procedure. This field accepts the small integer data type. The default value is zero.
Specifies how this stored procedure runs. Main routine is the default when special register CURRENT RULES is set to DB2. The Language Environment (LE) manages storage in a main routine.
Specifies how this stored procedure runs. Subroutine is the default when special register CURRENT RULES is set to STD. The Language Environment (LE) does not manage storage in a subroutine, so this must be handled in the subroutine code.
Select to have the stored procedure return the same results for identical input arguments.
Select when the stored procedure requires specific information known by DB2. When selected, an additional argument is passed when the stored procedure is invoked.
Select to make the load module stay resident in memory after the stored procedure has ended. Select this for reentrant programs.
Select if the unit of work is to be committed immediately upon the successful return from this stored procedure. (A non-negative SQL code signifies a successful return.)
Select if you want to limit the service units permitted for any single invocation of the stored procedure.
If you selected Limit service units to, type a total amount of processor time, in CPU service units, that a single invocation of the stored procedure can run. Valid values are from 1 to 2,000,000,000. Any value in this field is ignored if Limit service units to is not selected.
Optional: Type a comment to describe this procedure, up to 254 characters.
Specifies a method for accessing an external security environment, such as RACF, to control access to non-SQL resources. If the stored procedure does not require a special external security environment, use the default, DB2.
Attention: There are some utility functions that you cannot perform if you do not use a workload manager (WLM) environment.
Do not specify No WLM environment if:
Specifies the default workload manager (WLM) environment that was established by your DBA when DB2 Universal Database for OS/390 and z/OS was installed. The install panel (DSNTIPX), uses DSN1WLM as the default.
Specifies a particular workload manager (WLM) environment that is different from the WLM environment established when DB2 for OS/390 was installed. You must have already defined this environment using Workload Manager Administration.
If you chose to specify a particular workload manager (WLM) environment, type a name for the environment. The name is an SQL long identifier, maximum length of 18, and must not contain any underscores.
If you specified a workload manager (WLM) environment, click to have nested procedures run in a different address space.
If you specified a workload manager (WLM) environment, click to have nested procedures run in the same address space.
Specify the programming language used to create the stored procedure. The language selected determines the format of the External Name tab.
Optional: If you don't want to use the default language environment run-time options, type your own options here.
Note: The run-time options string cannot be longer than 254 characters.
Specify a method for handling parameters:
Opens the Add Parameter window in which you define a parameter to be added to the Parameters list.
Opens the Change Parameter window in which you make changes to the selected parameter. Available only if an item in the Parameters list is selected.
Removes the selected parameter from the Parameters list.
Moves the selected parameter up one position in the Parameters list. Available only if there is a parameter above the selected parameter. The order of the parameters in this list determines the order in which they must be specified when the stored procedure is called.
Moves the selected parameter down one position in the Parameters list. Available only if there is a parameter below the selected parameter. The order of the parameters in this list determines the order in which they must be specified when the stored procedure is called.
Displays the list of currently defined parameters. To change a parameter, select one from the list and click Change. To remove a parameter, select one and click Remove. You can also change the order of the parameters by selecting one and clicking Move Up or Move Down. The order of the parameters in this list determines the order in which they will be specified when the stored procedure is called.
Optional: Specify the external name for the procedure. When this field is left blank, the procedure name will be used as the external name.
Optional: Specify a JAR (Java ARchive) schema name.
Specify a JAR (Java ARchive) ID. The JAR ID must have been predefined on the DB2 system.
Specify a method package ID. For COMPJAVA language, at least one package name is required. A package ID can be a combination of package names in the format:
Required. Specify a method class ID. The total combined length of the information specified in the package, class, and method fields cannot exceed a total of 256 characters.
Required. Specify a method ID. The total combined length of the information specified in the package, class, and method fields cannot exceed a total of 256 characters.
Specify the method signature to identify exactly the method you are using. Select from the Available Java datatypes list and click Paste to add them to the signature string. You can also type directly into this field if, for example, the signature string contains data types that are not in the list.
Shows the data types that are available to use. Click Paste to add your selection to the Method Signature.
Copies a data type selected from the Available Java datatypes list and appends it to the Method Signature.
Submits the SQL command that has been generated by your choices in this window and closes the window. Available when the required fields are complete.
Displays the SQL command that will be generated by your choices in this window. Available when the required fields are complete.
Cancels changes and closes this window. No SQL command is submitted.
Displays the list of currently defined parameters. For an existing procedure, a parameter's properties and position within the parameter list cannot be changed.