The $MODENME function returns MODENAME defined for VTAM PROCESS' PROCESSGROUP.
The MODENAME is returned in a character string which may be up to 8 bytes in length. $MODENME may be issued from any thread type and takes one argument, namely the VTAM PROCESS name. $MODENME returns M204.3051 PROCESS [process name] not found if the PROCESS has not been defined. $MODENME returns M204.3052: PROCESSGROUP not found for PROCESS [ process name ] if the PROCESS' named PROCESSGROUP has not been defined