OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

trnstics (Start and terminate collecting transaction statistics)

Format

Trnstics {-s|-e}

Function

The trnstics command starts or terminates collecting transaction statistics onto a journal file.

When the -s option is specified, statistics is collected from a transaction that is to be started after the trnstics command is normally terminated. No statistics can be collected from a transaction that has started before normal termination of the trnstics command.

Only the transaction from which statistics can be collected is a transaction that has been executed by a user service for which 1-4 is specified in trn_statistics_type of the user service definition.

When the -e option is specified, no statistics is collected from a transaction that is to start after normal termination of the trnstics command.

At restart of OpenTP1, the specification of the trnstics command cannot be inherited. In this case, processing follows the specification of trn_tran_statistics (specify whether statistics for each transaction branch is to be collected) in the transaction service definition before restart of OpenTP1.

Options

-s

Starts collecting transaction statistics onto a journal file.

-e

Terminates collecting transaction statistics onto a journal file.

Output messages

Message ID Description Output destination
KFCA00970-E Error occurred in trnstics command processing. Standard error output
KFCA00973-I Help message Standard output
KFCA00978-E Use of trnstics command is invalid. Standard error output
KFCA01099-E trnstics command execution environment has not been set. Standard error output

Notes

Lower transaction performance will result with more different types of transaction statistics to be collected.