Type 32 records allow the installation to keep track of individual TSO/E commands entered during a TSO/E session, during recording interval, or in a command list (CLIST). If no commands are entered during a reporting interval, no record is created. SMF writes record type 32 when a TSO/E user logs off or when an SMF recording interval expires.
The installation can specify, through the DETAIL parameter in SMFPRMxx, that the record is to include the total CPU time under task control blocks (TCB) and SRBs and the total number of TPUTs, execute channel programs (EXCP), transactions, and TGETs associated with the command.
Many TSO/E commands, such as EDIT, have subcommands. These subcommands are counted in the type 32 record. However, these subcommands are not recorded as entered at the terminal. They are recorded with a prefix that associates the subcommand with a command. For example, under EDIT, the INPUT subcommand is recorded as EDINPUT. The prefixes are described in other topics.
The record includes all TSO/E commands attached directly by the terminal monitor program (TMP). However, some TSO/E products or, possibly, user applications currently do not count TSO/E commands and thus do not support the type 32 record. For example, the Interactive Problem Control System (IPCS) does not count TSO/E commands but TSO/E subcommands are counted.
The user must include the name of the command or prefixed-subcommand in module IEEMB846 before invoking the interface.
The IBM-supplied module IEEMB846, contains a partial list of the TSO/E commands, prefixed subcommands, and aliases that are counted in the type 32 record. All other commands are counted in the ‘***OTHER’ field.
An installation can use the IBM-supplied IEEMB846 or create its own module in SYS1.LINKLIB. The SMFTSOCM member of SYS1.SAMPLIB is provided so that the user can add or delete commands for the installation. The SMFTSOCM member contains the source code for the IBM-supplied IEEMB846. The format of IEEMB846 is:
Offset | Length | Content |
---|---|---|
0 | 4 | Number of commands in the module |
4 | 4 | Reserved |
8 | 8 | Command name field |
16 | 8 | Command name field |
. | . | . |
. | . | . |
. | . | . |
. | . | . |
IEEMB846 CSECT
DC F'4'
DC F'0'
DC CL8'ALLOCATE'
DC CL8'ALLOCbbb'
DC CL8'SENDbbbb'
DC CL8'GETINPUT'
END
If the length of the prefix plus the subcommand name exceeds eight characters, the subcommand name is truncated on the right. For example, the CONTINUE subcommand of OUTPUT appears in IEEMB846 as OCONTINU.
The subcommand prefix “U” allows an installation to collect data on user-defined subcommands while they use the TSO/E Command interface. An installation that has more than one user-defined command processor can add a one-digit qualifier (0-9, A-Z) to the prefix to differentiate between user commands.