Measure Reference Manual

else
! ANSI SQL MODULE name is OK
MEASSTATUS
Returns information about a currently active measurement.
In Measure G09 and later PVUs, MEASSTATUS has a parameter for retrieving settings that reports
the configuration of the journal segment functions.
error := MEASSTATUS ( meascb ! i,o
,measnum ! i
,cpus ! o
,starttime ! o
,stoptime ! o
,interval ! o
,entities ! o
,ctrspace ! o
,[ max^ent ] ! i
,[ settings ] ); ! o
meascb
input, output
INT:ref:$LEN(MEASCB^DEF) / 2
is a control block where the Measure subsystem stores data for subsequent procedure calls.
Before calling the first Measure procedure that uses meascb, you must allocate space in your
global data area for the control block and initialize each element of the control block to -1.
After you pass meascb to a Measure procedure, do not modify its contents.
The file $SYSTEM.SYSnn.MEASDECS contains the structure definition for the control block
descriptor (MEASCB^DEF).
measnum
input
INT:value
is the measurement number. Use the measnum value returned by the MEASCONFIGURE
procedure.
cpus
output
INT:ref:1
indicates the CPUs being measured. Each bit represents a CPU number. If a bit is set to 1, that
CPU is being measured. Otherwise, that CPU is not.
starttime
output
FIXED:ref:1
is the start time of the measurement.
stoptime
output
FIXED:ref:1
is the stop time of the measurement.
interval
output
FIXED:ref:1
is the collection interval of the measurement.
442 Measure Callable Procedures