Capturing JVM usage statistics
You can enable IMS to capture the usage statistics of persistent Java virtual machines (JVMs) that run in an IMS dependent region. The JVM usage statistics are captured as type-29, subtype-2 records in z/OS System Management Facility (SMF).
- The latest version of the IMS Universal JDBC driver is downloaded and all of your existing IMS Universal JDBC driver files are replaced with the files of the latest version. In particular, you must use the latest version of the imsudb.jar and imsutm.jar files.
- SMF is installed in z/OS®.
- SMF is configured to accept type-29, subtype-2 records in the settings for SMF parameter
SYS1.PARMLIB(SMFPRMxx)
in z/OS. Define the
BPX.SMF
or theBPX.SMF.type.subtype
FACILITY
class profile according to your needs. Defining theBPX.SMF.29.2 FACILITY
class profile requires a clean program-controlled environment. For more information about definingBPX.SMF or BPX.SMF.type.subtype
, see z/OS UNIX System Services Planning on setting up the UNIX-related FACILITY and SURROGAT class profiles .For example, once you have activated theOrFACILITY
class with theSETROPTS CLASSACT FACILITY
command, you can use the commands below to permit access to eitherBPX.SMF or BPX.SMF.29.2
. Please see the documentation for each of those commands for more details:- RDEFINE FACILITY BPX.SMF UACC (access-authority)
- PERMIT BPX.SMF CLASS (FACILITY) ACCESS (access-authority) ID (name)
-
SETROPTS RACLIST (FACILITY) REFRESH
- RDEFINE FACILITY BPX.SMF.29.2 UACC (access-authority)
- PERMIT BPX.SMF.29.2 CLASS (FACILITY) ACCESS (access-authority) ID (name)
- SETROPTS RACLIST (FACILITY) REFRESH
IMS queries z/OS to confirm that SMF type-29, subtype-2 records are to be captured. If not, IMS does not call SMF to write the record.
Procedure
- JLEOPT=N
- Specifies that a persistent JVM is used for the IMS dependent region.
- SMFINTERVAL
- Specifies the time interval in milliseconds that is used to log JVM statistics. 6000 is the recommended value.