Black Hill Software

  • Home
  • Products
    • EasySMF
      • Online Manual
      • Release Notes and Latest Version
      • License Agreement
    • EasySMF:JE
      • EasySMF:JE Java Quickstart
      • Release Notes and Latest Version
      • Javadoc
      • License Agreement
    • EasySMF:RTI
      • EasySMF:RTI – SMF Real Time Interface
      • Javadoc
    • 30 Day Trial
  • Purchase
    • How to Buy
    • Purchase a License
  • Support
    • Documentation
      • EasySMF Desktop Online Manual
      • EasySMF:JE Javadoc
      • EasySMF RTI Javadoc
      • EasySMF JSON Javadoc
      • z/OS Utilities Javadoc
    • EasySMF Support
    • Get the latest version of EasySMF
    • EasySMF:JE Support
    • Get the latest version of EasySMF:JE
  • News
  • Contact
    • Support
    • Sales

EasySMF:RTI – SMF Real Time Interface

Recent versions of z/OS include the SMF Real Time Interface.

The z/OS SMF Real Time Interface allows application programs to read SMF data as it is written, without system exits or authorized code. Multiple SMF in memory resources can be defined to receive different sets of records, and access to each resource is RACF protected.

Using the SMF Real Time Interface from Java

EasySMF:RTI provides an easy way to use this interface from Java.

Using the interface is as simple as a few lines of code:

try (SmfConnection connection =
        SmfConnection.forResourceName("IFASMF.MYRECS")
                     .disconnectOnStop()
                     .connect())
{
    // process data here
}

This code connects to the resource and sets up a MVS command handler to disconnect when a MVS STOP command is received. The connection will be automatically closed when the program exits the try block.

EasySMF:JE provides Java classes to map the records you read from the real time interface.

See examples of how to use the Real Time Interface on Github:

https://github.com/BlackHillSoftware/easysmf-samples/tree/main/easysmf-rti

Samples include:

  • A simple demonstration of connecting, reading, disconnecting
  • Send SMF record data in binary format to a http(s) URL
  • Send SMF record data in JSON format to a http(s) URL
  • Send notifications of failed jobs by SMS message using Twilio

The Javadoc for EasySMF:RTI can be found here:

https://static.blackhillsoftware.com/easysmf-rti/javadoc/

30 Day Trial

EasySMF and EasySMF:JE are available for a free 30 day trial. Download now and start using them immediately.
30 Day Trial

Information

EasySMF:JE Java API for SMF: Quickstart

Java vs C++ : Drag Racing on z/OS

News

  • Using zEDC compression for SMF data
  • Text message alerts using the z/OS SMF Real Time Interface
  • DCOLLECT Reports and DCOLLECT to JSON using Java

Black Hill Software

Suite 10b, 28 University Drive, Mt Helen, VIC 3350, Australia
PO Box 2214, Bakery Hill, VIC 3354, Australia
+61 3 5331 8201
+1 (310) 634 9882
info@blackhillsoftware.com

News

  • Using zEDC compression for SMF data
  • Text message alerts using the z/OS SMF Real Time Interface
  • DCOLLECT Reports and DCOLLECT to JSON using Java

Copyright © 2025 · Enterprise Pro Theme on Genesis Framework · WordPress · Log in