The SCOPE_LEVEL function returns the scope level of the currently running procedure or function.
| Note |
Result = SCOPE_LEVEL()
Returns an integer specifying the level of the currently running procedure or function.
None
None
Introduced: 6.1
HELP, SCOPE_VARFETCH, SCOPE_VARNAME, ROUTINE_INFO