MPE/iX Commands Reference Manual (32650-90877)
Chapter 12 475
Command List X
Commands SAVE thru SHUTQ
[ ;BASE =
num
] [ ;MAX =
num
]
[ ;SHOW]
Parameters
INSP Specifies the input spoolid counter.
OUTSP Specifies the output spoolid counter.
JOBNUM Specifies the job number counter.
SESSNUM Specifies the session number counter.
The target counter (INSP, OUTSP, etc.) is only optional if the SHOW option is
used by itself to display BASE and MAX values for all counters without
changing any of them. For any other form of the command, the target
counter is a required parameter.
num
A positive integer. For MAX,
num
may also equal zero. A non-zero
num
for MAX
must be less than or equal to the maximum possible value for that counter.
Those values are:
INSP 9999999
OUTSP 9999999
JOBNUM 16383
SESSNUM 16383
For BASE,
num
must be less than MAX, except when MAX is equal to zero.
Operation Notes
The SETCOUNTER command allows you to specify limits other than 1 and the maximum
possible value of one of four counters (but within that range) You may set limits for one
counter with each use of the command and, therefore, you must invoke the command four
times to change the limits of all four coutners.
You may also use SETCOUNTER to display the current values of the counters. Only one
invocation of the command is necessary to see all current values.
To set a maximum operating value for the specified counter and enable its operation, enter
a positive value for the MAX keyword. Specify MAX=0 to disable the operation, that is, the
counter's limit is then its maximum possible value. Omitting MAX leaves its previous value
in force. Once MAX is reached, the next value tried is the BASE value. If you specify a
non-zero value for MAX, it must be greater than the current BASE for the corresponding
counter, but less than the maximum possible value
The BASE keyword causes the specified counter to be immediately yanked to the specified
value. If you supply a value, it must be less than the supplied or current value of MAX (other
than 0), and in any case, less than the maximum possible value. If you do not specify BASE,
it is not changed, nor is current sequencing affected.
For each counter, duplicate values are avoided. For example, if #O10 is in use when due to
be assigned as the next output spoolid, it is skipped and #O11 is tried. This process
continues until an available value is found.