SMF real-time interface
SMF provides an application programming interface (API) that offers real-time access to SMF in-memory resources.
The following callable services support real-time access to SMF records:
The following steps describe the expected calling sequence:
- Optional: Call the IFAMQRY service to determine which SMF in-memory resources are available to the application.
- Call the IFAMCON service to connect to an in-memory resource.
- Call the IFAMGET service in a loop to collect SMF records that are already in the in-memory resource or that are being recorded in real time.
- Call the IFAMDSC service to disconnect from the in-memory resource and clean up resources.
For more information, see the topic on using the SMF real-time interface in z/OS MVS System Management Facilities (SMF).