USLCMAX parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (misc formatting)
 
(5 intermediate revisions by 2 users not shown)
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]], REPEAT loop, performs a backward JUMP TO, and on a number of other occasions. When that number 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 this 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.
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 (<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.
 
[[Category:Scheduler parameters]]
[[Category:Scheduler parameters]]
[[Category:System parameters]]
[[Category:System parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

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.