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.

Read syntax diagramSkip visual syntax diagram ADDRESS( )

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 */