SMFDETAL — Testing detail recording

The SMFDETAL macro allows you to determine if detail recording is active for the current subsystem. A user subsystem can use this macro to determine what level of data to collect. For example, TSO/E uses SMFDETAL to determine if type 32 detail data or type 32 summary data is to be collected.

When you invoke the SMFDETAL macro, you must include the IEESMCA mapping macro, which maps the SMCA.

[label] SMFDETAL [(SUBSYS={ name}]
                 [        {(reg)}]
SUBSYS=name
SUBSYS=(reg)
specifies the name (or address in register 2-12) of the 4-byte field containing the subsystem name. The subsystem name must be left-justified and padded with blanks. If you use a register, it must be enclosed in parentheses. The macro looks for the subsystem name in SMFPRMxx and uses the options for that subsystem to determine if detail recording is active. If the subsystem name is not found, the macro uses the options specified for the entire system on the SYS option in SMFPRMxx to determine if detail recording is active.

If you do not specify a SUBSYS, the macro uses the subsystem name of the current address space: for example, TSO for TSO/E users, ASCH for APPC/MVS transactions programs, STC for started tasks, or the name of the job entry subsystem (JES2 or JES3) for batch jobs. If the defaulted subsystem name is not found, the macro uses the options specified for the entire system on the SYS option in SMFPRMxx to determine if detail recording is active.