Single MUF LXX info from TSO using the CA SYSVIEW API

Document ID : KB000010380
Last Modified Date : 14/02/2018
Show Technical Document Details

To download the Rexx program used to display information for all MUFs running on an LPAR, please see article TEC1909011.

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.


Attached to this article is a sample Rexx program that will display the LXX usage for a single MUF. 

Sysview Rexx LXX - One MUF.txt (SVLXX)

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 must be processed from a TSO session running on the LPAR where the MUF is running. This is a typical CA SYSVIEW requirement as well.

To run this program, you can copy the SVLXX 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 EXEC 'the filename of the program(SVLXX)' MUFname

The output is via Rexx SAY commands. For example you might receive something like this:

*                                                                         *
* For MUF MU15MUF (JOB40082)   on 06/08/17 at 16:37:50                    *
*                                                                         *
* The LXX has 3000 tracks, used 0 out of 2997 blocks (0%).                *
*                                                                         *
* The LXX last spilled on 06/08/17 at 08:34:59.                           *
*                                                                         *
* There are currently 0 blocks ready to be spilled                        *
*                                                                         *
* Note that this value is constantly changing and may not be current.     *
*                                                                         *

Additional Information:

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.

File Attachments: