Setting Up Run Time Monitor [ Migration Process Guide ] MPE/iX 5.0 Documentation
Migration Process Guide
Setting Up Run Time Monitor
System logging and the program file event (type 16) must be enabled
through the MPE V/E SYSDUMP facility for RTM to work. (Refer to the MPE
V/E System Operation and Resource Management Manual (32033-90005) for
details on enabling system logging and the program file event.) Since
any program already loaded or allocated is not linked through
RTMSL.PUB.SYS when run-time event monitoring is enabled, it is necessary
to deallocate all programs first, or make sure that RTM is enabled
immediately after a system start.
NOTE The auto-allocate feature of MPE V/E does not affect RTM operation.
RTMSYS ensures that auto-allocate is disabled before any RTM status
changes are made. Once the changes are made, RTMSYS enables
auto-allocate if it was enabled prior to the change.
CAUTION Running RTM on the PREDICTIVE software can cause your system to
hang.
Initially, all event classes recognized by RTMSYS are off. For RTM to
work, you need to turn on the desired event classes.
There are two methods available to automatically enable RTM after a
WARMSTART/COOLSTART/COLDSTART:
* Through an operator logon UDC
* Through the system Startup State Configurator file
Operator Logon UDC
The first method you can use to automatically enable RTM is to have
OPERATOR.SYS execute a logon UDC that runs the RTMSYS program with an
info string. The info string contains the name of a file that has the
event classes turned on or off, as desired. Each entry in the file looks
exactly as if it was typed interactively.
******
EVENTUDC
OPTION LOGON
: RUN RTMSYS.PUB.SYS;info="RTEVENTS.PUB.SYS"
******
The file RTEVENTS.PUB.SYS is a standard EDIT/V compatible file, either
numbered or unnumbered, that you create. Each line contains a class
number and the desired status for that particular class.
System Startup File
The second method you can use to enable RTMSYS by is streaming a job
stream file from the Startup State Configurator file, SYSTART.PUB.SYS. A
job stream file must be used since the :RUN command can not execute from
the Startup State Configurator file.
A sample job stream file to be invoked from a startup state file:
!JOB RTMINIT,OPERATOR.SYS
!RUN RTMSYS.PUB.SYS;INFO="RTEVENTS.PUB.SYS"
!TELLOP; **** RTM ENABLED
!EOJ
MPE/iX 5.0 Documentation