MPOPTS parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (misc formatting)
Line 23: Line 23:
<p>
<p>
This parameter applies only to z/OS. Valid settings of <var>MPOPTS</var> are:</p>
This parameter applies only to z/OS. Valid settings of <var>MPOPTS</var> are:</p>
<table>
<table>
<tr class="head"><th>Setting</th><th>Meaning</th></tr>
<tr class="head"><th>Setting</th><th>Meaning</th></tr>
<tr><th align="right"><var>X'01'</var></th><td><var>[[Record_loops#FOR_EACH_RECORD_statement|Loops]]</var> containing serial statements</td></tr>
 
<tr><th align="right"><var>X'02'</var></th><td>Calls to <var>[[Subroutines|subroutines]]</var> containing serial statements</td></tr>
<tr><th align="right"><var>X'01'</var></th><td>[[Record loops#FOR EACH RECORD statement|Loops]] containing serial statements</td></tr>
<tr><th align="right"><var>X'04'</var></th><td>No <var>[[SOUL_$functions|$functions]]</var>.</td></tr>
 
<tr><th align="right"><var>X'08'</var></th><td><var>[[STORE_RECORD_statement#STORE_RECORD_statement|STORE RECORD]]</var> and <var>[[STORE_RECORD_statement#DELETE_RECORD_statement|DELETE RECORD]]</var> statements</td></tr>
<tr><th align="right"><var>X'02'</var></th><td>Calls to [[Subroutines|subroutines]] containing serial statements</td></tr>
<tr><th align="right"><var>X'20'</var></th><td><var>[[Full-screen_feature#READ_SCREEN_statement|READ]]</var>, <var>[[Full-screen_feature#PRINT_SCREEN_statement|PRINT SCREEN]]</var>, <var>[[Full-screen_feature#PRINT_MENU_statement|PRINT MENU]]</var>, and <var>[[Full-screen_feature#REREAD_SCREEN_statement|REREAD]]</var> statements</td></tr>
 
<tr><th align="right"><var>X'40'</var></th><td><var>[[Images#READ_IMAGE_statement|READ IMAGE]]</var> and <var>[[Images#WRITE_IMAGE_statement|WRITE IMAGE]]</var> statements</td></tr>
<tr><th align="right"><var>X'04'</var></th><td>No [[SOUL $functions|$functions]].</td></tr>
 
<tr><th align="right"><var>X'08'</var></th><td><var>[[STORE RECORD statement#STORE RECORD statement|STORE RECORD]]</var> and <var>[[STORE RECORD statement#DELETE RECORD statement|DELETE RECORD]]</var> statements</td></tr>
 
<tr><th align="right"><var>X'20'</var></th><td><var>[[Full screen feature#READ SCREEN statement|READ]]</var>, <var>[[Full-screen feature#PRINT SCREEN statement|PRINT SCREEN]]</var>, <var>[[Full-screen feature#PRINT MENU statement|PRINT MENU]]</var>, and <var>[[Full-screen feature#REREAD SCREEN statement|REREAD]]</var> statements</td></tr>
 
<tr><th align="right"><var>X'40'</var></th><td><var>[[Images#READ IMAGE statement|READ IMAGE]]</var> and <var>[[Images#WRITE IMAGE statement|WRITE IMAGE]]</var> statements</td></tr>
<tr><th align="right"><var>X'80'</var></th><td>Produce compilation warning messages for serial statements</td></tr>
<tr><th align="right"><var>X'80'</var></th><td>Produce compilation warning messages for serial statements</td></tr>
</table>
</table>

Revision as of 21:10, 4 August 2015

MP user language options

Summary

Default value
X'7F'
Parameter type
System
Where set
On User 0's parameter line
Related products
All
Introduced
Model 204 V4.1 or earlier

Description

The MPOPTS parameter setting is used to tune system multiprocessing. The SOUL compiler strategy offloads as much work as possible to subtasks. You can set the MPOPTS parameter to modify this strategy for a particular section of code, particularly:

  • Nested loops
  • MP=NO $functions
  • Mixed mode statements

This parameter applies only to z/OS. Valid settings of MPOPTS are:

SettingMeaning
X'01'Loops containing serial statements
X'02'Calls to subroutines containing serial statements
X'04'No $functions.
X'08'STORE RECORD and DELETE RECORD statements
X'20'READ, PRINT SCREEN, PRINT MENU, and REREAD statements
X'40'READ IMAGE and WRITE IMAGE statements
X'80'Produce compilation warning messages for serial statements

An MP OPTIONS SOUL statement can temporarily override the MPOPTS parameter. For more information on multiprocessing concepts and parameters, refer to Multiprocessing (MP/204).