This function retrieves the value of an integer 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_BIN_8 |
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' 'QMGetMetricValueInteger' PGMNAME 'MyMetric' VALUE RC
...
CALL_DLL 'qualmgrtoolbx' 'QMQueryNextProgram' PGMNAME RC
REDO
...