$MODENME: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
<p class="syntax">%STR = $MODENME("MT11")</p> | <p class="syntax">%STR = $MODENME("MT11")</p> | ||
==Errors== | |||
<p> | <p> | ||
<var>$MODENME</var> returns M204.3051 <var>PROCESS</var> [process name] not found if the <var>PROCESS</var> has not been defined. | <var>$MODENME</var> returns M204.3051 <var>PROCESS</var> [process name] not found if the <var>PROCESS</var> has not been defined. | ||
Line 19: | Line 19: | ||
</p> | </p> | ||
==Further Study== | |||
<p> | <p> | ||
Please see <var>[[DEFINE PROCESS command: Overview of intersystem network process|DEFINE PROCESS]]</var> | Please see <var>[[DEFINE PROCESS command: Overview of intersystem network process|DEFINE PROCESS]]</var> |
Latest revision as of 19:46, 17 March 2022
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")
Errors
$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.
Further Study
Please see DEFINE PROCESS for more information on VTAM Processes and DEFINE PROCESSGROUP for more information on VTAM Processgroups.