RAD function: perf

A RAD function that evaluates system performance and then logs this information in Service Manager's systemperform and systemtotals tables. A value of zero (0) indicates success, and a value of negative one (-1) indicates failure.

Function

perf

Format

perf(n)

Where the value of n is the number that corresponds to the option you select.

Parameters

The following table shows the parameters used with the perf function:

Option Result
1 Delete records in the systemtotals and systemperform files where capture=false before writing new information to disk.
2 Add records and do not delete. Nothing is removed before new records are written to the systemtotals and systemperform files. Maintenance of these files is typically the responsibility of the RAD programmer.
3 Delete records in the systemtotals and systemperform files where capture=false and do not write information to disk.
4 Delete all records in the systemtotals and systemperform files, regardless of capture status.

Example

perf(1) Returns zero (0).