Specify the name of a logical grouping for user-defined functions, which is used as the second part of the three-part name. Click [...] to search for an existing schema name.
Opens the List Schemas window where you can browse for the schema name.
Type a name for the function. The name must not be a duplicate of an existing function at the current server.
Specify a name the function will be known by. Defaults to the function name unless the function name, when combined with the schema name, is not unique to the DB2 system. In that case, if left blank, DB2 will generate a unique specific name.
Optional: Type the name of the package collection to use when the function is executed.
Specify whether or not the function can contain SQL statements, and if it can, of what type.
Specifies how this function runs. Main 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 function 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.
Select to have the function return the same results for identical input arguments.
Select when the function requires specific information known by DB2. When selected, an additional argument is passed when the function is invoked.
Select to make the function's load module stay resident in memory. Select this for reentrant functions.
Select to do the function call whether or not an input argument is null.
Select to do a final call to free any system resources acquired during previous function executions. An additional argument is required when using this feature. See SQL Reference for details.
Select to enable parallel execution.
Select if you want to limit the service units permitted for any single invocation of the function.
If you selected Limit service units to, specify a total amount of processor resource, in CPU service units, that a single invocation of the function can run. Valid values are from 1 to 1,999,999,999. Any value here is ignored if Limit service units to is not selected.
Optional: Type a comment to describe this function, 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 function does not require a special external security environment, use the default, DB2.
Select if the function takes an action that changes the state of an object that DB2 does not manage, such as sending a message or writing a record to a file.
Select to allocate an area for the function to save information from one invocation to the next. This is useful for reentrant functions.
Type the size of the scratch pad, in bytes, from 1 to 32767. The default is 100 bytes.
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, select to have nested functions run in a different address space.
If you specified a workload manager (WLM) environment, select to have nested functions run in the same address space.
Specify the programming language used to create the function. 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.
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.
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 function 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 function is called.
Select to specify an output data type that is not cast from another data type.
Read-only. Displays the selected data type. Click [...] to specify or modify the data type.
Opens the Add Data Type window in which you can specify the data type. If a data type is already defined, opens the Change Data Type window in which you can modify the data type information.
Select to specify an output data type that will be cast from another data type.
Read-only. Displays the selected data type. Click [...] to specify or modify the data type.
Opens the Add Data Type window in which you can specify the data type. If a data type is already defined, opens the Change Data Type window in which you can modify the data type information.
Read-only. Displays the selected cast-from data type. Click [...] to specify or modify the data type.
Opens the Add Data Type window in which you can specify the data type to cast from. If a data type is already defined, opens the Change Data Type window in which you can modify the data type information.
Select if you want to specify an external name for the function. If not selected, the function name will be used as the external name.
Type the external name for the function. Required when the External Name check box has been selected.
Optional: Type a JAR (Java ARchive) schema name.
Type a JAR (Java ARchive) ID. The JAR ID must be pre-defined on the DB2 system.
Type a method package ID. For language COMPJAVA, at least one package name is required. A package ID can be a combination of package names in the format:
Required. Type a method class ID. The total combined length of the information specified in the package, class, and method fields cannot exceed 256 characters.
Required. Type a method ID. The total combined length of the information specified in the package, class, and method fields cannot exceed 256 characters.
Specify the method signature to identify exactly the method you are using. Select from the Java data types 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 Java data types 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.