Product SiteDocumentation Site

5.4.21.6. name


>>-name-------------------------------------------------------><

Returns the name associated with the stack frame context. The name meaning depends on the type of context.
  • If the stack frame context is a method invocation, name is the message name used to invoke the method.
  • If the stack frame context is a routine invocation, name is the routine.
  • If the stack frame context is an internal routine invocation, name is the label name used to invoke the internal routine.
  • If the stack frame context is the initial main part of a Rexx program, name is the name of the file containing the program.
  • If the stack frame context is an INTERPRET instruction, a zero-length string is returned.