$LOGMODE
The $LOGMODE function returns the SNA Communications Server (formerly VTAM) Logmode Entry Name which was used to BIND an IODEV 7 session with Model 204.
The Logmode Entry Name is returned in a character string which may be up to 8 bytes in length. $LOGMODE will return blanks if it is issued from any thread type other than an IODEV 7. $LOGMODE takes no arguments.