Single MUF LXX info from TSO using the SYSVIEW API
search cancel

Single MUF LXX info from TSO using the SYSVIEW API


Article ID: 10380


Updated On:


Datacom Datacom/AD Datacom/DB SYSVIEW Performance Management


To download the Rexx program used to display information for all MUFs running on an LPAR, please see Knowledge Base article 10483, titled "LXX Info for all MUFS from TSO using the SYSVIEW API", for more details.

Running a Datacom MUF, whether used for Datacom/DB with your own applications and databases, or with Datacom/AD in support of other 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 Datacom tables. 

Clients have often requested a way to 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 SYSVIEW API from Rexx.


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

To use this program, you must be able to link to the 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 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.

The syntax of the command is



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 MY15MUF (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 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 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, Broadcom disclaims all liability arising from or related to any use of these sample programs. 

As always, please contact Broadcom support for Datacom if you have further questions.


svlxx.txt get_app