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

Single MUF LXX info from TSO using the CA SYSVIEW API

book

Article ID: 10380

calendar_today

Updated On:

Products

Datacom DATACOM - AD CIS COMMON SERVICES FOR Z/OS 90S SERVICES DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services CA ECOMETER SERVER COMPONENT FOC Easytrieve Report Generator for Common Services INFOCAI MAINTENANCE IPC UNICENTER JCLCHECK COMMON COMPONENT Mainframe VM Product Manager CHORUS SOFTWARE MANAGER CA ON DEMAND PORTAL CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET Xpertware

Issue/Introduction

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.



Environment

Release: DBCISF00200-15.1-Datacom-Database-Option for CICS Services
Component:

Resolution

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 SVLXX MUFname

or

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.

Attachments

1558534309327TEC1347984.zip get_app