MPOPTS parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (link repair)
m (→‎Description: minor wordsmithing)
Line 15: Line 15:


==Description==
==Description==
The <var>MPOPTS</var> parameter setting is used to tune system multiprocessing. The SOUL compiler strategy offloads as much work as possible to subtasks. You can set the <var>MPOPTS</var> parameter to modify this strategy for a particular section of code, particularly:  
The <var>MPOPTS</var> parameter setting is used to tune system multiprocessing. The SOUL compiler strategy offloads as much work as possible to subtasks. You can reduce the scope of this subtask offloading by setting <var>MPOPTS</var> parameter to offload selectively for a particular section of code.
 
By default, <var>MPOPTS</var> omits offloading for:  
<ul>
<ul>
<li>Nested loops</li>
<li>Nested loops</li>
Line 22: Line 24:
</ul>
</ul>
<p>
<p>
This parameter applies only to z/OS. Valid settings of <var>MPOPTS</var> are:</p>
<var>MPOPTS</var> applies only to z/OS. Its valid settings are: </p>


<table>
<table>
Line 34: Line 36:


<tr><th><var>X'04'</var></th>
<tr><th><var>X'04'</var></th>
<td><code>MP=NO</code> [[SOUL $functions|$functions]]</td></tr>
<td><code>MP=NO</code> [[Performance monitoring and tuning#$Functions|$functions]]</td></tr>


<tr><th><var>X'08'</var></th>
<tr><th><var>X'08'</var></th>

Revision as of 19:19, 25 July 2018

MP user language options

Summary

Default value
X'7F'
Parameter type
User
Where set
User resettable
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 reduce the scope of this subtask offloading by setting MPOPTS parameter to offload selectively for a particular section of code.

By default, MPOPTS omits offloading for:

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

MPOPTS applies only to z/OS. Its valid settings are:

SettingMeaning
X'01' Loops containing serial statements
X'02' Calls to subroutines containing serial statements
X'04' MP=NO $functions
X'08' Store Record and Delete Record statements
X'10' Field-level update statements (Add Field, Change Field, Delete Field)
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).