11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Legacy Commands and FunctionsrvaltnumnReturns the previous state of the table (1=show, 0=hide). If n is omitted, rvalreturns the current state of the table. If tnum does not exist, rval returns 0.The relative number of the metric counter table, specified as an integer, thecount beginning with 1. The tnum of a table is returned by calling$ZUTIL(133,1).Optional — A switch that specifies whether a table should be shown or hidden.1 = Show the table. 0 = Hide the table. Showing or hiding a table does notaffect the operation of its counters.$ZUTIL(133,4)rval=$ZUTIL(133,4,tnum,cnum)If you call $ZUTIL(133,4) specifying neither tnum nor cnum, $ZUTIL(133,4) returns thetotal number of metric counters tables defined. If you only specify tnum, $ZUTIL(133,4,tnum)retrieves the table definition of the specified table. If you specify both tnum and cnum,$ZUTIL(133,4,tnum,cnum) retrieves the definition of the specified counter; it does notretrieve the definition of that counter's table.rvaltnumcnumThe value returned, as described below. If neither tnum nor cnum is defined,rval is the total number of defined tables.Optional — The relative number of the metric counter table, as returned by$ZUTIL(133,1). Retrieve the definition of this table. A table definition containsthe values specified in $ZUTIL(133,1) and $ZUTIL(133,3). These values arereturned in the following sequence: number of counters (ccount), table name(table), abbreviated table name (tabbrev), table description (tdesc), and theshow/hide state boolean (n).Optional — The relative number of the counter within the table. Retrieve thedefinition of this counter. A counter definition consists of the counter name(cabbrev) and the counter description (cdesc). Thus, if both tnum and cnumare defined, the value of rval is: cabbrev_$CHAR(1)_cdesc.$ZUTIL(133,5)cval=$ZUTIL(133,5,tnum,cnum,value)$ZUTIL(133,5) increments or decrements the value of the specified counter. Calling$ZUTIL(133,5) without the value parameter increments the current value of the counter by792 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!