WLM application environment values for Java routines
To define the application environment for Java routines to WLM, specify the appropriate values on WLM setup panels.
Use values like those that are shown in the following screen examples.
File Utilities Notes Options Help
------------------------------------------------------------------------
Definition Menu WLM Appl
Command ===> ___________________________________________________________
Definition data set . : none
Definition name . . . . WLMENV
Description . . . . . . Environment for Java stored procedures
Select one of the
following options. . . 9 1. Policies
2. Workloads
3. Resource Groups
4. Service Classes
5. Classification Groups
6. Classification Rules
7. Report Classes
8. Service Coefficients/Options
9. Application Environments
10. Scheduling Environments
- Definition name
- Specify the name of the WLM application environment that you are setting up for stored procedures.
- Description
- Specify any value.
- Options
- Specify 9 (Application Environments).
Application-Environment Notes Options Help
------------------------------------------------------------------------
Create an Application Environment
Command ===> ___________________________________________________________
Application Environment Name . : WLMENV
Description . . . . . . . . . . Environment for Java stored procedures
Subsystem Type . . . . . . . . . DB2
Procedure Name . . . . . . . . . DSN8WLMP
Start Parameters . . . . . . . . DB2SSN=DB2T,NUMTCB=3,APPLENV=WLMENV
_______________________________________
___________________________________
Limit on starting server address spaces for a subsystem instance:
1 1. No limit.
2. Single address space per system.
3. Single address spaces per sysplex.
- Subsystem Type
- Specify Db2.
- Procedure Name
- Specify a name that matches the name of the JCL startup procedure for the stored procedure address spaces that are associated with this application environment.
- Start Parameters
- If the Db2 subsystem in which the stored procedure runs is not in a sysplex, specify a DB2SSN value that matches the name of that Db2 subsystem. If the same JCL is used for multiple Db2 subsystems, specify DB2SSN=&IWMSSNM. The NUMTCB value depends on the type of stored procedure you are running. For Java routines that run in a 31-bit environment, the recommended value is 5. For Java routines that run in a 64-bit environment, the recommended value is 25. Specify an APPLENV value that matches the value that you specify on the CREATE PROCEDURE or CREATE FUNCTION statement for the routines that run in this application environment.
- Limit on starting server address spaces for a subsystem instance
- Specify 1 (no limit).