If you need to generate timestamps to monitor replication performance, you can set up automation to create them for remote journaling (RJ) data groups that you wish to monitor.
In this procedure, you will create an interval monitor using the Create Monitor Object (CRTMONOBJ) command. This is accomplished by specifying *CMD for the interface exit program on the monitor object, and then Create Data Group Timestamps (CRTDGTSP) for the command (*CMD). You can also run CRTDGTSP manually or schedule a job to run the command in batch. For more information, see “Creating an interval monitor” in the MIMIX Monitor book.
Do the following to create an interval monitor:
From the Work with Monitors display, type a 1 (Create) in the Opt column next to the blank line at the top of the list and press Enter.
The Create Monitor Object (CRTMONOBJ) display appears. Do the following:
-
At the Monitor prompt, provide a unique name for the monitor.
-
At the Event class prompt, specify *INTERVAL.
-
At the Interface exit program prompt, specify *CMD.
-
At the Time interval (sec.) prompt, specify how often the interval monitor should run and press Enter. By default, this monitor runs every 15 seconds. Use your data group time stamp interval (default is every 20,000 entries) to estimate how many entries you process a day. From there, determine how often you need to run the monitor in order to provide an adequate sample.
-
-
The Add Monitor Information (ADDMONINF) display appears. Do the following:
-
At the Command prompt, type CRTDGTSP.
-
At the Library prompt, type the name of your installation library and press F4 (Prompt).
-
-
The Create Data Group Timestamps (CRTDGTSP) display appears. Do the following:
-
At the Data group definition prompts, specify the name of the RJ data group.
-
At the Number of stamps to create prompt, specify the number of timestamps you want to create and press Enter.
-
-
From the Work with Monitors display, type a 9 (Start) next to the interval monitor you created. This allows you to start generating timestamps. For information about viewing timestamps, see Displaying or printing timestamps.
Repeat this procedure for each RJ data group for which you want to generate timestamps.