Returns information about the current MultiValue file called from a dictionary.
||A literal integer value in the range 1 through 11 (inclusive). You cannot specify code as an expression. A code value containing a fractional portion is truncated to an integer. A code value outside of the range 1 through 11 generates a syntax error.
function returns information about the current Item being processed in CMQL when the routine is called from a DICTIONARY CALL conversion code. The called routine is called for every value in the DICT item attributes. If specified in DICT item attribute 7, the routine is also called each time a break-on occurs.
The information returned by ACCESS
depends on the value of code
. The following code
values are supported:
||The filevar for the data portion of the file. A filevar is assigned by the OPEN statement.
||The filevar for the dictionary portion of the file. A dictionary filevar is assigned by the OPEN statement using the DICT keyword.
||A dynamic array containing the current item from the file.
||Counter of the number of items processed. Defaults to 0.
||The attribute number specified in attribute 2 of the DICT item that is calling the current routine. Defaults to 0.
||The current value number being processed. (1 is returned for single valued attributes.) Defaults to 0.
||The current subvalue number being processed. (1 is returned if there are no subvalues.) Defaults to 0.
||Number of detail lines processed since the last break. (This code is only valid if the DICT item attribute 7 is specified.) Defaults to 0.
||The current break level. Set to 0 when processing a detail line. (This code is only valid if the DICT item attribute 7 is specified.) Defaults to 0.
is provided for compatibility with the D3 (PICK) implementation of MultiValue Basic.
© 1997-2019 InterSystems Corporation, Cambridge, MA