SMF PROCESSING

Overview of Messages

SMF0001 | SMF0005 | SMF0006 | SMF0007 | SMF0008

SMF0001 $1: USER=$2 LU=$3 TID=$4 ACCT=$5 STATUS=$6/$7
Explanation:

This message will be issue when the Com-plete sysparms request that one or more of the SMF records must be written to the console. The $1 parameter describes why the record was written. This will be for LOGON, LOGOFF, PGMTERM, SUSPEND and CHKPNT. The other parmeters are as follows.

$2 - Userid for whom the record is being writtem.

$3 - The name of the terminal on which the user was running.

$4 - The tid number of the terminal on which the user was running.

$5 - The account number of the user.

$6 - The user 'control' status:

  • 'C' - Control user

  • 'N' Non-control user

$7 - The user 'type' status:

  • 'L' - Logged on user

  • 'A' - Attached used

  • 'S' - Scheduled user

System action:

Com-plete will issue one or more of the following messages with more information.

ZSF00005, ZSF00006, ZSF00007, ZSF00008.


SMF0005 $1: AUTH=$2 RMC=$3 SMC=$4
Explanation:

This message will be written to provide additional information to the ZSF00001 message. $1 identifies why the record is being written. This can be for LOGON, LOGOFF, PGMTERM (program termination), SUSPEND (user suspended a program in Com-pass) and CHKPNT (Check point). The other values are as follows.

$2 - This is the authorisation code of the user for whom the record is being written.

$3 - These are the message class codes the user is authorised to receive.

$4 - These are the message class codes the user is authorised to send.


SMF0006 $1: PROGRAM=$2 $3 $4 LOADTIME=$5 TX-NO=$6
Explanation:

This message will be written to provide additional information to the ZSF00001 message. $1 identifies why the record is being written. This can be for LOGOFF, PGMTERM (program termination), SUSPEND (the user suspended a program in Com-pass) and CHKPNT (Check point). The other values are as follows.

$2 - The name of the program being terminated.

$3 - If the program was running privileged (PRIV) will appear here.

$4 - If the program abended (ABEND) will appear here.

$5 - The time the program was loaded into the thread.

$6 - The transaction number assigned to the program invocation.


SMF0007 $1: THRDT=$2 CPU=$3 EXCPS=$4 TRANX=$5 TERM=$6 MSGSW=$7
Explanation:

This message will be written to provide additional information to the ZSF00001 message. $1 identifies why the record is being written. This can be for LOGOFF, PGMTERM (program termination), SUSPEND (the user suspended a program in Com-pass) and CHKPNT (check point). The other values are as follows.

$2 - Total time spent by the user in the thread since logon.

$3 - Total CPU time used by the user since logon.

$4 - Total number of excps issued by the user since logon.

$5 - Total number of terminal transactions since logon.

$6 - Total number of bytes sent to the terminal since logon.

$7 - Total number of bytes spooled to the print out spool subsystem since logon.


SMF0008 $1: ROLOUTS=$2 Q-TIME=$3 MCALLS=$4 ADA-CALLS=$5 ADA-TIME=$6
Explanation:

This message will be written to provide additional information to the ZSF00001 message. $1 identifies why the record is being written. This can be for LOGOFF, PGMTERM (program termination), SUSPEND (the user suspended a program in Com-pass) and CHKPNT (Check point). The other values are as follows.

$2 - Number of times the user was elegible to be rolled out since logon.

$3 - Total amount of time spent on Com-plete queues since logon.

$4 - Total number of MCALLs issued by the user since logon.

$5 - Total number of Adabas calls issued by the user since logon.

$6 - Total time spent issuing Adabas calls since logon.