Example 1

In a CLIST, dialog variable TERMSG contains a message-id. Write this message in the ISPF log file.
ISPEXEC LOG MSG(&TERMSG )