This function retrieves the value of a percentage metric.
Context
Windows client,
Windows server.
Parameters
- ALPHA(n) |
ProgramName |
Name of the program, or *BLANK to read a metric at the global project level. |
- ALPHA(n) |
idMetric |
Internal ID of the metric |
- NUM_E(5,2)) |
Value |
Metric value |
- BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was completed successfully. *FALSE if it was not. |
Example
BEGIN_PROCEDURE END
...
CALL_DLL 'qualmgrtoolbx' 'QMQueryFirstProgram' PGMNAME RC
DO_WHILE RC
...
CALL_DLL 'qualmgrtoolbx' 'QMGetMetricValuePercentage' NOMPGM 'MyMetric' VALUE RC
...
CALL_DLL 'qualmgrtoolbx' 'QMQueryNextProgram' PGMNAME RC
REDO
...