USLCMAX parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (misc formatting)
m (misc formatting)
 
Line 15: Line 15:


==Description==
==Description==
This counter is decremented each time a user reaches the bottom of a [[Record loops#FOR EACH RECORD statement|FOR loop]], [[Flow of control in_ User Language#Repeat loops|REPEAT loop]], performs a backward [[Flow of control in User Language#JUMP TO statement|JUMP TO]], and on a number of other occasions.  
This counter is decremented each time a user reaches the bottom of a <var>[[Record loops#FOR EACH RECORD statement|For]]</var> or <var>[[Flow of control in  User Language#Repeat loops|Repeat]]</var> loop, performs a backward <var>[[Flow of control in User Language#JUMP TO statement|Jump To]]</var>, and on a number of other occasions.  


When the counter reaches zero, a call is made to the CLSICE (Check SLICE) routine to see if the user has exceeded any maximums &mdash; <var>[[MCPU parameter|MCPU]]</var>, <var>[[MDKRD parameter|MDKRD]]</var>, <var>[[MDKWR parameter|MDKWR]]</var>, <var>[[MUDD parameter|MUDD]]</var>, <var>[[MCNCT parameter|MCNCT]]</var>, or <var>[[MOUT parameter|MOUT]]</var> &mdash; and should be given the LONG REQUEST message or put into a wait (USLCWAIT).  
When the counter reaches zero, a call is made to the CLSICE (Check SLICE) routine to see if the user has exceeded any maximums &mdash; <var>[[MCPU parameter|MCPU]]</var>, <var>[[MDKRD parameter|MDKRD]]</var>, <var>[[MDKWR parameter|MDKWR]]</var>, <var>[[MUDD parameter|MUDD]]</var>, <var>[[MCNCT parameter|MCNCT]]</var>, or <var>[[MOUT parameter|MOUT]]</var> &mdash; and should be given the LONG REQUEST message or put into a wait (<var>USLCWAIT</var>).  


Decreasing the counter number increases scheduler overhead, since CSLICE will be called more often. Increasing the number reduces scheduler overhead, but allows users to run longer before being checked for exceeding maximums.
Decreasing the counter number increases scheduler overhead, since CSLICE will be called more often. Increasing the number reduces scheduler overhead, but allows users to run longer before being checked for exceeding maximums.

Latest revision as of 22:39, 29 November 2017

User slice max to CSLICE

Summary

Default value
0
Parameter type
System
Where set
On user's parameter line
Related products
All
Introduced
Model 204 V7.1

Description

This counter is decremented each time a user reaches the bottom of a For or Repeat loop, performs a backward Jump To, and on a number of other occasions.

When the counter reaches zero, a call is made to the CLSICE (Check SLICE) routine to see if the user has exceeded any maximums — MCPU, MDKRD, MDKWR, MUDD, MCNCT, or MOUT — and should be given the LONG REQUEST message or put into a wait (USLCWAIT).

Decreasing the counter number increases scheduler overhead, since CSLICE will be called more often. Increasing the number reduces scheduler overhead, but allows users to run longer before being checked for exceeding maximums.