The OPTION Command

The OPTION command provides the ability to enable a wide range of features of
QM. Most of these affect the command language environment in some way. For
example

OPTION NO.PHANTOM.NOTIFY

suppresses the normal message sent to a user's screen when a phantom process
started by that user terminates. The OPTION command is most commonly used in
the LOGIN paragraph.

If many options are to be set, they can be specified in a single OPTION
command.

OPTION NO.PHANTOM.NOTIFY NON.NUMERIC.WARNING DIV.ZERO.WARNING

If the list is large, combining options into a single command by use of this
format can make a small improvement to startup performance which may be useful
with applications that launch many short life phantom processes.

Encoded Option Settings

The current option settings can be viewed by use of the OPTION command with
no qualifying data. When this is done, the final line of output is of the
form

Encoded: X1141

where the X is followed by a hexadecimal value that is an encoded
representation of the current option settings. The encoding is compressed
rather than being a simple hexadecimal value with a bit for each option.

Once the encoded option value has been determined, the OPTION command in the
LOGIN paragraph can be replaced with

OPTION X1141

to set the options to a state that matches the encoded value which gives a
further small performance benefit.
This method is safe even across QM upgrades where new options might have been
added. Any new options will be initially disabled.