RSC/MP 7.3 Installation and Configuration Guide

Configuring and Managing the RSC/MP TDP
Process
HP NonStop Remote Server Call (RSC/MP) Installation and Configuration Guide522358-011
12-7
Logging Using EMS Tokens
(GCSC) may request additional logging to diagnose a TDP problem. To turn on
optional logging, follow these steps:
1. Use the RSCCOM command LOGOPEN to start logging and to identify the log file;
for example:
LOGOPEN $DATA.RSC.ERRLOG
The log file ($DATA.RSC.ERRLOG, in this example) must be a pre-existing,
unstructured Enscribe file, spooler (for example, $5.#MYTRACE), or a terminal
with a paused TACL (for example, $ASY01.#TERM2).
2. Use RSCCOM and the attribute LOGEVENTS to turn on logging of optional events
for a specific TDP object (this applies to TERM and PIPE objects only); for
example:
ALTER TERM TERMO1 LOGEVENTS TMF
This turns on logging of TMF events for the TERM object named TERM01.
3. To turn off all logging for a TDP, enter the LOGCLOSE command.
4. To turn off optional events for a specific TDP object, enter an ALTER command
with no options for LOGEVENTS; for example:
ALTER TERM TERMO1 LOGEVENTS
This command turns off logging of TMF events for the TERM object.
Logging Using EMS Tokens
By default, logging of critical events is performed by using the Event Management
Service (EMS). The TDP issues messages in tokenized form. These tokens are
described in the Remote Server Call (RSC/MP) Messages Manual.
You can use Viewpoint or EMSDIST to view the tokenized log messages. This requires
that the RSC EMS tokens and advisory text templates be merged with the system
templates as described in Installation from the CD on page 3-1. If you have performed
this merge operation, set the RSCUSEEMS PARAM prior to starting the TDP. The
following example shows the use of this PARAM:
> PARAM RSCUSEEMS 1
> RUN TDP /NAME $TD01, NOWAIT/
If you do not perform this merge operation, you can still view the tokenized
messages since the TDP inserts a text token (for compatibility purposes) that
contains all of the information necessary for Viewpoint or EMSDIST to display
the message text into the token stream. However, displaying this text token
Notes. All critical messages are automatically logged to the event collector ($0). Set up a log file
only for diagnostic purposes.
Optional logging will affect the performance of RSC/MP.