Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Asset Console Creating an Access Definition File Guide


$GETARRAYBYKEY (get value from array with key)

$GETARRAYBYKEY acquires information corresponding to a specified key from keyed information stored in an array.

Organization of this page

Syntax

return-value=$GETARRAYBYKEY(array-name,key-value(,array-number-in-key))

Values

Status

The following table lists and describes the possible statuses:

Status

Description

NORMAL

Normal end

NODATA

Indicates one of the following:

  • The specified key does not exist.

  • No information exists for array-number in the specified key.

ERROR

Script execution interrupted

An invalid argument was specified, or an error other than the above occurred.

Legend:

—: Not applicable

Example

See the example in $SETARRAYBYKEY (set value to array with key).