The default destinations used in the previous section are typically used by storage managers to communicate information to the end-user. This section will describe how to change the destination, copy the message to additional destinations, and/or write log messages or records. These more advanced features are normally to used by administrators to monitor the storage environment.
Route a Message to a TSO User
The USERID parameter on the DEFMSG, DEFPOOL, DEFENV and DEFPROD statements allow your rules language to route copies of messages to TSO users. For internal product messages, the USERID parameter on the DIF MESSAGE console command can be used to route copies of internal messages. The user specified on the USERID parameter would typically be a storage administrator that wants to monitor specific internal product messages, or has a user-defined message in the rules to stop notable conditions. In most cases, the USERID parameter would only be used in very select conditions, and would probably be an additional copy of a message written to a log file using the DDNAME parameter.
Route a Message to the Console
The WTORC parameter on the DEFMSG, DEFPOOL, DEFENV and DEFPROD statements allow your rules language to route copies of messages to the console using the WTO SVC. For internal product messages, the WTORC parameter on the DIF MESSAGE console command can be used to route copies of internal messages.
The routing and descriptor codes are typically set by the WTORC and WTODC parameters on the DEFMSG statement. The DEFPROD MSG( SYSLOG) parameter determines whether the message appears in the system log data set.