RED State Monitor Utility

The RED State Monitor Utility SXX3NMON is given a list of RED URLs (up to 30) to monitor and reports state change on each of them. This allows the user to modify it and add business processes when a RED URL becomes “active” or “in-active”. Look at function “call_user_process” at the end of the source. You can add code here to handle either condition (“active” or “in-active”). Currently, the routine just prints out a message.
Note: Your code runs in-line to the one thread that is monitoring all the RED URLs in the program’s input, so serialization happens.
The SXX3NMON source is provided in USERHLQ.C which is written in C and uses the TIBCO Mainframe RED product. The JCL sample is as follows:
  • Data Set: USERHLQ.JCL
  • Member: SXXBMON

SYSIN Parameters

The commands or messages sent by the utility are determined by the keywords and operands in the SYSIN DD Name file. See the following table.

RED State Monitor Control Parameters
Parameter Description
DEBUG This parameter sets debug level of messages. It is recommended that you retain the default (0) unless TIBCO Support requires the output.

Valid values: 0 - 5. Default value: 0.

HUB Terminates the execution of RED State Monitor Utility.
URL<#> Specifies the URL to be monitored. where # is the sequence number 1 to 30.