How can we specify SMF record generation?

Document ID : KB000053842
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document outlines how to set up the SMF Facility with Teleview for generating SMF records.

Solution:

To enable the Teleview SMF logging features, uncomment any or all of these lines in VOPTIONS member FEATURES:

SMF-FOR-APPL-LOGON/LOGOFF      PUNCH SMF RECORD FOR APPLICATION      
SMF-FOR-DISC/RECONNECT         PUNCH SMF RECORD FOR DISC/RECONNECT   
SMF-FOR-SHUTDOWN               PUNCH SMF RECORD FOR SHUTDOWN         
SMF-FOR-TERM-LOGON/LOGOFF      PUNCH SMF RECORD FOR TERMINAL         

Any line in the FEATURES member of VOPTIONS must be un-commented (no asterisk ?*' in col 1) in order for the parameter/feature to be used or implemented.

CA-Teleview writes user SMF records. The default record type is 225, with subtypes 01, 02, and 03. To override the defaults, create a one record member called SMFREC in the VOPTIONS PDS. The format of the record is:

Column Description

1        The record type in hexadecimal representation.
3        The subtype for terminal logon/logoff in hexadecimal representation. (Also for Reconnect/Disconnect.)
5        The subtype for terminal application logon/logoff in hexadecimal representation.
7        The subtype for CA-Teleview shutdown in hexadecimal representation.

For example:

  • A set of values 'E4010203' starting in Column 1 of the SMRREC member would generate SMF type 228 records with subtypes 01, 02 and 03.

  • If you would like to generate SMF record type 247, you would code F7010203:

    • x'F7' (equates to 247 in decimal) 01 (terminal logon/logoff) 02 (terminal application logon/logoff) 03 (Teleview shutdown)

Do not code blanks in these columns. The record layouts for these records are provided in Appendix A, "Tables."

If the SMF features are currently commented out in member FEATURES, the SMFREC member is not being used.

See CA-Teleview Administrator Guide, Chapter 2.5, "SMF Facility" on page 2-39.