Monitoring and Controlling Processes in CANDE

Any messages generated by a task initiated from a CANDE session are automatically displayed at that session, including any “BOT”, “EOT”, DISPLAY, and RSVP messages and error or warning messages. However, for processes indirectly associated with a session, the display of messages is optional. Processes indirectly associated with a session include WFL processes initiated by a START or WFL command, the descendants of such processes, and the descendants of any task initiated from a session.

The CANDE session option MSG controls the display of messages by processes indirectly associated with a session. While MSG is set, all messages generated by such indirect processes are displayed at the session. While MSG is reset, all such messages are suppressed. CANDE sets the MSG option to TRUE if the usercode attribute CANDEGETMSG is set for the usercode of the session. You can also set the MSG option to TRUE for a session by entering a CANDE SO MSG command. You can use the equivalent CANDE control command, ?SO MSG, even when the station is busy.

A number of CANDE control commands are available for monitoring and controlling particular processes. You can use these commands to monitor or control any process that has the same usercode as the session usercode. This includes processes initiated from the current session as well as processes initiated from other sources, such as MARC or the ODT.

Most CANDE commands related to process control correspond to system commands with similar names. Some restrictions and differences in spelling apply to the CANDE versions of these commands. For further information, refer to Tasking Command Equivalents later in this section.

The system assigns a unique number, also known as the session number, to each CANDE session. The session number is assigned from a range of numbers defined by the MAX (Maximums) system command. Depending on the range defined, the session number can be as low as 100 or as high as 65535.

The CANDE session number does not appear as a process in mix display commands. However, the session number does appear in the output from two system commands: Y (Status Interrogate) and C (Completed Mix Entries). The output from these commands shows both the job number and the mix number of a process. If the process is a task, and it was initiated from a CANDE session, then the job number shown is actually the CANDE session number.