Update applications that use SMF type 92 subtype 11 close records

Description

Before z/OS V2R1, SMF type 92, subtype 11 close records were written when sockets or character special records were closed. Sockets and character special files have very high close rates and do not provide useful information in determining how often files and directories are used. Starting in z/OS V2R1, they are written as subtype 16 close records instead. The sockets and character special file close records will no longer appear in type 92 subtype 11 records. Instead, you need to include type 92 subtype 16 records in the SMFPRMxx parmlib member to collect them.

Note: APAR OA43426 changed the pipe and fifo close processing also to generate SMF type 92 subtype 16 records instead of subtype 11. As a result, SMF type 92 subtype 16 contains information written when a socket, character, special file, pipe, or fifo is closed.

Table 1 provides more details about this migration action. Use this information to plan your changes to the system.

Table 1. Information about this migration action
Element or feature: z/OS UNIX.
When change was introduced: z/OS V2R1.
Applies to migration from: z/OS V1R13.
Timing: Before the first IPL of z/OS V2R2.
Is the migration action required? Yes, if you want continue to get close records for sockets and character special files.
Target system hardware requirements: None.
Target system software requirements: None.
Other system (coexistence or fallback) requirements: None.
Restrictions: None.
System impacts: None.
Related IBM Health Checker for z/OS check: None.

Steps to take

Follow these steps:
  1. Determine whether you have applications that use SMF type 92 subtype 11 close records. For those applications, SMF92TYP is set to SMF92#CLOSE (11) for subtype 11. SMF92CTY is set to FT_SOCKET (7) for sockets and FT_CHARSPEC (2) for character special files.
  2. Change the application to look at subtype 16 records. SMF92TYP will be set to SMF92#CLSSOCCHARSPEC (16).

Reference information

For more information, see z/OS UNIX System Services Planning.