KMPTMP("KMPDT", |
Packages are given direct write and read permission of
the ^KMPTMP("KMPDT") global in order to generate Capacity Planning (CP) timing
metric data for capacity planning purposes.
1. The calling package will initially start the Capacity Planning (CP)
timing metric clock with the following code:
S ^KMPTMP("KMPDT",pkg_name,id_node)=$H_start_time_"^^"_$G(DUZ)_"^"
_$G(IO( "CL NM"))
Where pkg_name = Variable identifies the particular calling package
Id_node = identifying id that will be utilized when the timing
metric clock is stopped (see Item 2 below)
$H_start_time = Start time in $Horolog format
NOTE: DUZ and IO("CLNM") are Kernel system variables
Where
DUZ = User id
IO("CLNM") = client name
2. The calling package will stop the Capacity Planning (CP) timing
metric clock with the following code:
S $P(^KMPTMP("KMPDT",pkg_name,id_node),"^",2)=$H_stop_time
Where pkg_name = Variable identifies the particular calling package
Id_node = identifying id that was used when the timing metric
clock was started (see 1 above)
$H_stop_time = Stop time in $Horolog format
|