Long-Running Command Processors

A long-running command (LRC) processor enables other processing to continue after a command begins processing. The DSIPUSH macro provides for continuation by the same or another processor under varying conditions. The caller of the original command can run after that command returns. Other processing, such as messages, can occur between the calls to the various parts of the LRC processor.

LRC processors run under an OST, NNT, primary POI tasks (PPT), or DST (logoff routines only). Your operator can call an LRC processor using a command procedure, or an LRC processor can be called by another LRC processor. The LRC processors return control to the NetView® program after scheduling work but before processing is complete. The NetView program then processes other work that is pending. Only long-running commands can act as a NetView component, suspending for unrelated operator commands, including ROLL, and resuming, in turn.

LRC processors are often used to retrieve data from another task or from another domain without enabling the calling function or calling command procedure to proceed in the midst of this retrieval. During this retrieval, the task of the processor can continue to receive messages and accept commands.

For specific coding instructions, see Calling the Command Processor.