$MODENME: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
Given name of a VTAM <var>PROCESS</var> the <var>$MODENME</var> function returns the <var>MODENAME</var> defined for the VTAM <var> PROCESSGROUP</var> associated with that <var>PROCESS</var>. | Given name of a VTAM <var>PROCESS</var> the <var>$MODENME</var> function returns the <var>MODENAME</var> defined for the VTAM <var> PROCESSGROUP</var> associated with that <var>PROCESS</var>. | ||
The <var>$MODENME</var> function takes a field name, character literal, or %variable as its one argument. </p> | The <var>$MODENME</var> function takes a field name, character literal, or %variable as its one argument. </p> | ||
<p> | |||
The <var>MODENAME</var> is returned in a character string which may be up to 8 bytes in length. | |||
<var>$MODENME</var> may be issued from any thread type. | |||
</p> | |||
==Syntax== | |||
<p> | |||
The format of the <var>$MODENME</var> function is:</p> | |||
<p class="syntax">%STR = $MODENME("MT11")</p> | |||
<p> | |||
$MODENME returns M204.3051 PROCESS [process name] not found if the PROCESS has not been defined. | $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 | $MODENME returns M204.3052: PROCESSGROUP not found for PROCESS [ process name ] if the PROCESS' named PROCESSGROUP has not been defined | ||
Line 10: | Line 19: | ||
[[Category:SOUL $functions]] | [[Category:SOUL $functions]] |
Revision as of 18:44, 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 field name, 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