To download the Rexx program used to display information for a single MUF, please see article TEC1347984.
Running a CA Datacom MUF, whether used for CA Datacom/DB with your own applications and databases, or with CA Datacom/AD in support of other CA Products, sometimes requires monitoring and attention to different system components. The LXX, or Logging Area may be used to retain transactional information about updates or other maintenance to the CA Datacom/DB tables.
One request that has come up a number of times from clients is how they can monitor the current utilization of the LXX to prevent any problems from the LXX filling. There are several ways to accomplish this, and this article discusses one method using the CA SYSVIEW API from Rexx. This article will provide a program to allow you to display certain LXX information for all MUFs that are currently running on the LPAR where the command is issued.
Attached to this article is a sample Rexx program that will display the LXX usage for all running MUFs on this LPAR.
Sysview Rexx LXX - All MUFs.txt (SVLXXALL)
To use this program, you must be able to link to the CA SYSVIEW CNM4BLOD loadlib, as two modules are called from the Rexx program. Most clients will install the CNM4BLOD into the Linklist, so it will be readily available, or you will need to add the logic to be able to access this loadlib via the TSO STEPLIB (it also requires APF functionality).
In addition, the command to display the LXX information will only show information about MUFs that are running on the LPAR where the command is issued. This is a typical CA SYSVIEW requirement as well.
To run this program, you can copy the SVLXXALL program into a library allocated to your TSO SYSPROC or SYSEXEC DD statement, or you can use the TSO EXEC command with the explicit file name of the Rexx program.
You execute the command with
TSO SVLXXALL
or
TSO EXEC 'the filename of the program(SVLXXALL)'
The output is via Rexx SAY commands. For example you might receive something like this:
***************************************************************************
* LXX Statistics for Active MUFs on SYSA in PLEX01 - 06/08/17 13:27:32 *
* *
* MUF JOB or Total Used Total Pct Last LXX Spill Blocks *
* Name STC ID Tracks Blocks Blocks Full Date Time Spillable *
* -------- -------- ------ ------ ------ ---- -------- -------- ------ *
* AD14MUF STC34709 1000 782 997 78 No spills 781 *
* QAMUFDB STC49712 7500 4718 7497 63 06/03/17 22:14:31 4717 *
* TESTMUFA STC29724 2400 2026 2397 85 05/31/17 12:02:47 2025 *
* MY15MUF JOB53465 3000 4 2997 <1 06/08/17 08:34:59 3 *
* ENF STC24635 2400 1464 2397 61 No spills 1463 *
* *
* Note that this value is constantly changing and may not be current. *
* *
***************************************************************************
As this Rexx program is treated like a sample, it is subject to the standard sample program disclosure:
These CA Datacom sample programs are provided free of charge and without support. These sample programs are solely for use by an authorized licensee of the applicable CA Datacom product(s) ("licensed program(s)"), to copy and modify such sample programs solely in conjunction with the internal implementation and use of the licensed program(s) in accordance with the terms of the licensed program(s) license. These sample programs are provided "as is" without warranty of any kind. To the full extent permitted under applicable law, CA Technologies disclaims all liability arising from or related to any use of these sample programs.
As always, please contact CA Technologies support for CA Datacom if you have further questions.