ADDRESS
The ADDRESS function returns the name of the environment to which commands are currently being submitted. The environment may be a name of a subcommand environment.
See the ADDRESS instruction ( ADDRESS) for more information. Trailing blanks are removed from the result.
Examples
ADDRESS() -> 'CICS' /* default under CICS */
ADDRESS() -> 'EDITSVR' /* default under CICS editor */