Invocation Pointer (INVP)

Bound program access

Built-in number for INVP is 6. INVP ( relative_invocation : unsigned binary(4) literal value which specifies the relative invocation ) : invocation pointer which references the invocation specified by relative_invocation

Description  The relative invocation is a literal value between 0 and scope-1 where scope is the procedure's scoping level. A value of 0 indicates that an invocation pointer to the currently executing procedure is to be returned. A value of 1 indicates that an invocation pointer for the most recent invocation of the procedure identified as the owner of the currently executing procedure is returned. Increasing values for relative invocation refer to the further static nesting of the currently executing procedure, where invocation pointers to the most recent invocations of those uplevel procedures are returned.

The invocation pointer is only valid while the procedure invocation referenced by it still exists.

Restriction

The relative invocation must be 0. Values greater than 0 are currently not supported.

Authorization Required

Lock Enforcement

Exceptions