In a normal message (message function MESSYS__MESSAGE) received by an ADAM task, the
message status MSGSTATUS indicates the action required.
MSGSTATUS = SAI__OK CONTEXT
indicates which one of:
GET SET OBEY CANCEL CONTROL Permitted control functions are:
DEFAULT SETENV PAR_RESET N.B. DEFAULT and SETENV are required because tasks are run in separate processes, therefore (under
Unix anyway) changing the current working directory or environment variables of the controlling
process will not alter them for any existing subsidiary tasks.
See Handling GSOCC Messages (Section 6) for more details.
MSGSTATUS not SAI__OK MESSYS__EXTINT MESSYS__RESCHED AMS_REMSG() has been called.
DTASK_TIMEOUT() is called to handle the message. It checks that the specified action
is active and that the reschedule was expected. If all is OK, the action is obeyed
(DTASK_OBEY()).
MESSYS__ASTINT AMS_ASTINT() or AMS_ASTMSG() has
been called. DTASK_ASTINT() checks the action and obeys it if OK (DTASK_OBEY()).
MESSYS__KICK AMS_KICK() has been called by this task to run one of its
actions. DTASK_KICK() checks the action and obeys it if OK (DTASK_OBEY()).
Other > 0 MSGSTATUS < 0