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

Multiple MUF LXX info from TSO using the SYSVIEW API

book

Article ID: 10483

calendar_today

Updated On:

Products

Datacom Datacom/AD Datacom/DB SYSVIEW Performance Management

Issue/Introduction

To download the Rexx program used to display information for all MUFs running on an LPAR, please see Knowledge Base article 10380, titled "Single MUF LXX info 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..

Resolution

Attached to this article is a sample Rexx program called SVLXXALL that will display the LXX usage for all running MUFs on this LPAR. 

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 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.

The syntax of the command is

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 SYSX in PLEX01 - 06/08/24 13:27:32    *
*                                                                         *
* MUF      JOB or     Total   Used  Total  Pct  Last LXX Spill     Blocks *
* Name     STC ID    Tracks Blocks Blocks Full   Date     Time  Spillable *
* -------- --------  ------ ------ ------ ---- -------- --------   ------ *
* V14MUF01 STC34709    1000    782    997   78       No spills        781 *
* QAMUF#1  STC49712    7500   4718   7497   63 06/03/24 22:14:31     4717 *
* TESTMUFA STC29724    2400   2026   2397   85 05/31/24 12:02:47     2025 *
* MY15MUF  JOB53465    3000      4   2997   <1 06/08/24 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.     *
*                                                                         *
***************************************************************************

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.

Attachments

svlxxall.txt get_app