Using the example exit program as a starting point, you can modify the code to allow the program to perform additional function.
The following table provides suggestions for ways you can extend the capability of the watch function on your system by performing different actions based on the Trace option setting parameter in the exit program. Refer to each Trace option setting parameter value and the corresponding sample functions that can be performed.
Trace option setting parameter value | Sample functions that can be performed |
---|---|
*ON |
|
*MSGID or *LICLOG |
|
*COMPDATA | The exit program can determine whether the trace and the watch function should stop or continue running. This is determined by returning *STOP or *CONTINUE for the Output parameter. |
*INTVAL |
|
*WCHTIMO | To set the environment back to the initial status. For example:
|