Previous Topic: Command SupportNext Topic: Enqueues


Global Stem Variables

Global stem variables that are used to maintain the server IMOD environment are prefixed &$SERV_ and have the service name as the stem index (shown as service in the following list). The following global variable names are used to maintain the server IMOD environment:

&$SERV_IMOD.service

Specifies the name of the IMOD that is invoked as the server.

&$SERV_ID.service

Specifies the IMOD ID of the running server task. When the server is not running, the value of this variable is null.

&$SERV_DESC.service

Describes the service being provided.

&$SERV_FLAGS.service

Contains flags that control the operation of the server. Flags are one character (0 or 1) and positional, and indicate:

Flag

Description

1...

Server is accepting requests.

.1..

Server is processing requests.

..1.

Commands are being processed in AUTO mode.

...1

Server is shutting down.

&$SERV_REQ.service

The request string currently being processed.