Enabling SMF record collection


 

Use the following procedure to specify IBM System Management Facility (SMF) exits that the system uses to collect SMF records and to define where the system writes SMF data. BMC AMI Ops Monitor for Java Environments can collect SMF records when exit IEFU84 is invoked for STC and JESx

Warning
Important

The system requires SYSSTC.IEFU84 exit to collect SMF 123 subtype 1 version 2 records for z/OS Connect EE API provider requests.

To enable SMF record collection

  1. In the COMMAND line, type D SMF, O to list the exit specifications for your system.

    Warning

    Important

    • By default, all exits are invoked for a statement if no exits are defined for that statement.
    • If NOEXIT is specified, no exits are invoked.
  2. Search for the following statements:
    • SYS(EXITS(IEFU84))
    • SUBSYS(ssss,EXITS(IEFU84)), where ssss is STC, JES2, or JES3
       
  3. If you did not find these statements, specify IEFU84 in the SMF parmlib member (SMFPRMxx).
    Specify IEFU84 on the EXITS option of either the SYS or SUBSYS parameter.

    Warning

    Important

    • In SMFPRMxx, SYS defines global exit specifications. You can optionally use the SUBSYS parameter to override specific subsystems.
    • Exercise caution when defining exits. Ensure that you do not inadvertently remove any exits that are already defined.
  4. Grant authorized read access to BPX.SMF (the Facility class resource) for JZOS and IMS. 

    Information
    Example

    permit BPX.SUPERUSER CLASS(FACILITY) ACCESS(READ) ID(<userID>)

  5. Specify the following Java Batch Toolkit for z/OS (JZOS) environment variables:

    Warning

    Important

    To set these variables as the default for JZOS, specify the values in /etc/profile.

    IBM product

    Syntax to specify

    JZOS version 8.0 SR1 or later

    (BMC.AMIOPS.SPE2604)

    HJV_JZOS_JVM_SMF_LOGGING=true
    HJV_JZOS_JVM_SMF_THREADS=true
    HJV_JZOS_JVM_SMF_LOGGING_INTERVAL=n (seconds)
    export HJV_JZOS_JVM_SMF_LOGGING
    export HJV_JZOS_JVM_SMF_THREADS
    export HJV_JZOS_JVM_SMF_LOGGING_INTERVAL
    export HJV_JZOS_JVM_SMF_THREADS_NATIVE_ID =true

    IMS 15 or later

    In the DFSENVXX member for IMS JMP:

    JLEOPT=N
    SMFINTERVAL=<nnnn> (milliseconds)

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Monitor for Java Environments 4.1