Products Downloads


French version


 

 

This function retrieves the value of a decimal 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(x,y)

x >= 10

or

y > 0

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' 'QMGetMetricValueDecimal' PGMNAME 'MyMetric' VALUE RC

   ...

   CALL_DLL 'qualmgrtoolbx' 'QMQueryNextProgram' NOMPGM RC

REDO

...

 

The QualMgrToolBx DLL

 

↑ Top of page

  • Aucune étiquette