ADDRESS

Read syntax diagramSkip visual syntax diagram
>>-ADDRESS--(--)-----------------------------------------------><

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 (page Purpose) for more information. Trailing blanks are removed from the result.

Here are some examples:
ADDRESS()    ->    'CICS'       /* default under CICS   */
ADDRESS()    ->    'EDITSVR'    /* default under CICS editor */


addrss.html | Timestamp icon Last updated: Monday, 5 June 2017