Summary:
Monitoring system information in the CA Datacom environment is made much easier when using the CA SYSVIEW components for CA Datacom. In the case of monitoring the current utilization of the LXX (Log Area), the easier and quicker you can get this information, the easier it could be to prevent some problems.
TEC449348, titled “KB Article: How easily is it to determine the current percentage of the Datacom log file (LXX) is in use?” shows how to use SQL to get this information, and this document will show how to use CA SYSVIEW commands in batch JCL and through Rexx programs to get this useful information.
Environment:
This applies to CA SYSVIEW versions 14.0 and 14.1.
Note that there is a problem with the LXX SPILL date/time information being incorrect, and this has been fixed by these solutions
RO85961 (SYSVW 14.1 #28), "TSE1027 DCLOG LAST SPILLED INFORMATION INCORRECT" or
RO85948 (SYSVW 14.0 #147), "TSE0163 DCLOG LAST SPILLED INFORMATION INCORRECT"
Please be sure one of these solutions is applied if you want to use the Last Spilled data.
Instructions:
There are three different methods listed here to get the LXX utilization for one or more Multi-User Facility (called MUF) tasks:
Note that these are samples provided for your own use and can be customized according to your needs. As with all samples, please note the following disclaimer:
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 and CA SYSVIEW products ("licensed programs"), to copy and modify such sample programs solely in conjunction with the internal implementation and use of the licensed programs 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.
This article assumes that you can already use the DCLOG command to display this information from within the CA SYSVIEW environment.
First, using the GSVXBAT program, you can issue the same commands as if you were in the ISPF application for CA SYSVIEW. Here is a sample jobstream:
//STEP0001 EXEC PGM=GSVXBAT
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COMMAND=(ASID mufjobname)
COMMAND=(DCLOG)
COMMAND=(END)
/*
Next, using a Rexx program – called SVLXX – you can display information for a single MUF’s LXX. Please download this attached program from the link below and place it in a PDS where your Rexx programs can run. The syntax of this command is:
TSO SVLXX mufname
Where mufname is the name of the MUF you wish to query.
The output of this command is a simple box display:
***************************************************************************
* For MUF MYMUF (STC57751) on 01/26/16 at 16:07:19 *
* *
* The LXX has 1000 tracks, used 811 out of 997 blocks (81%). *
* *
* The LXX was last spilled on 01/20/16 at 16:07:18. *
* *
* Note that this value is constantly changing and may not be current. *
* *
***************************************************************************
Finally, using a Rexx program – called SVLXXALL - you can display the LXX details for all the MUFs currently running on the LPAR where the command is run. Please download this attached program from the link below and place it in a PDS where your Rexx programs can run. The syntax of this command is:
TSO SVLXXALL
The output of this command is a box display with one line for each MUF:
***************************************************************************
* LXX Statistics for Active MUFs on this system *
* *
* MUF JOB or Total Used Total Pct Last LXX Spill *
* Name STC Num Tracks Blocks Blocks Full Date Time *
* -------- -------- ------ ------ ------ ---- -------- -------- *
* MUF14AF STC42733 1000 811 997 81% 01/26/16 16:05:09 *
* MUF14DB STC57727 2400 2008 2397 84% 01/23/16 11:03:22 *
* MUFC14 STC57749 7500 3497 7497 47% 01/25/16 22:16:14 *
. . .
* LASTMUF STC57663 2400 2277 2397 95% 01/26/16 08:47:41 *
* *
* Note that this value is constantly changing and may not be current. *
* *
***************************************************************************
Additional Information:
Here are the links to download the Rexx programs:
SVLXX – Sysview Rexx LXX - One MUF.txt
SVLXXALL - Sysview Rexx LXX - All MUFs.txt
As always, please contact CA Technologies support for CA Datacom if you have further questions.