Start of change

ROUTINE_SPECIFIC_NAME

This global variable contains the name of the currently executing routine.

This global variable has the following characteristics:
  • It is read-only, with values maintained by system.
  • The type is VARCHAR(128).
  • The schema is SYSIBM.
  • The scope of this global variable is session.

If there is no routine currently executing, the value is NULL.

The value of ROUTINE_SPECIFIC_NAME global variable is set only for procedures and functions. The value always reflects the name of the currently executing routine.

The value is not changed for functions that are inlined. The value remains the same as it was when the inline function was invoked.

End of change