GET_OH_IDNR

Each object in Automic Automation is assigned a unique internal number (OH_IDNR) when it is created. Use the GET_OH_IDNR function to retrieve this number for a specific object.

Syntax

GET_OH_IDNR (Object Name)

Parameters

  • GET_OH_IDNR

    Retrieves the internal number of an object

  • Object name

    Name of the object

    Format: script literal or script variable

Return codes

  • The internal number of the object

  • 0 if the object does not exist

Example

The following example retrieves the internal number of an object called MM.DAY:

:SET &RET# = GET_OH_IDNR("MM.DAY")

See also: