$MODENME

From m204wiki
Revision as of 19:18, 17 March 2022 by SteveS (talk | contribs)
Jump to navigation Jump to search

Given name of a VTAM PROCESS, the $MODENME function returns the MODENAME defined for the VTAM PROCESSGROUP associated with that PROCESS. The $MODENME function takes a character literal, or %variable as its one argument.

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.

Syntax

The format of the $MODENME function is:

%STR = $MODENME("MT11")


$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.

Please see DEFINE PROCESS Process for reference by User Language statements, and the attributes of the process (used for Model 204 intersystem connections).