SMF macros

SMF supplies the following macros that can be used in application programs or in installation-written exit routines.
IFASMFR
Use the IFASMFR macro in any application program or in installation-written exit routines to symbolically address SMF record fields.
SMFCHSUB
Use the SMFCHSUB macro to change the information string specified in the current SUBPARM parameter.
SMFDETAL
Use the SMFDETAL macro to determine if detail recording is active for the current subsystem.
SMFEWTM
Use the SMFEWTM macro to write records to the SMF data set in APF-authorized programs and any exit routine that is in supervisor state, except where noted.
SMFEXIT
Use the SMFEXIT macro to branch directly to any installation-written SMF exit residing in the SYS1.LPALIB.
SMFINTVL
Use the SMFINTVL macro to determine the current interval and synchronization values.
SMFRTEST
Use the SMFRTEST macro to determine if a particular type, or subtype, of a record is being recorded.
SMFSUBP
Use the SMFSUBP macro to determine if any SUBPARM information is present or if the values have been changed.
SMFWTM
Use the SMFWTM macro to write records to the SMF data set in APF-authorized programs and any exit routine that is in supervisor state, except where noted.