Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-91
SETMODE Procedure
128 Queue files: Specifing timeout periods.
param1 = the higher order word of the timeout value (in 0.01
second).
param2 = the lower order word of the timeout value (in 0.01
second).
The two words are combined to form a 32-bit integer for the timeout value.
The following values are reserved:
-2D = system default period (60 seconds)
-1D = infinite timeout period (timeout error is not returned)
0D = no timeout period (error is returned immediately if
record cannot be read)
All other negative values are invalid. Note that SETMODE function 128 is
valid for queue files only.
The purpose of the timeout period is to limit the time spent on dequeue
operations, especially for audited files. If the read operation is not completed
within the timeout period, an error 162 (operation timed out) is returned.
Table 14-4. SETMODE Functions (page 24 of 34)
function Parameters and Effect