Working with MXG Code to Stage Data

About MXG Adapters

Raw data sources that are supported through MXG, such as z/OS data sources, might require that you customize some of the MXG code. These changes might be required in order to stage the data appropriately for the MXG adapters that SAS IT Resource Management provides. SAS IT Resource Management supports the following MXG adapters:
  • IBM DCOLLECT
  • IBM EREP
  • BMC Mainview IMS
  • DT Perf Sentry with MXG
  • IBM SMF
  • ASG TMON2CIC
  • ASG TMONDB2
  • IBM TPF
  • IBM VMMON

MXG Views

MXG views are SQL views that are created automatically by the staging transformations for MXG adapters.
MXG views are also created by the Aggregation transformation for simple aggregations that are based on staged tables from the same adapters in the preceding list. One MXG view is created for each of these staged tables and simple aggregation tables. The MXG views are stored in the same SAS library in which their dependent SAS tables are stored.
Each MXG view shows a SAS IT Resource Management table and the variables for that table in a structure that is equivalent to an MXG data set. Thus, these views enable experienced MXG programmers to use SAS IT Resource Management tables in MXG reporting jobs as if the tables had been created by MXG.
For example, the staged table STAGE.XTY70 is accompanied by an MXG view called STAGE.TYPE70. In addition, if a simple aggregation is built from a staged table, then an MXG view called SIMPLE.TYPE70 is created for the SIMPLE.XTY70 table.

IMACWORK and RMFINTRV Customizations Relevant to the RMF Domain Category of the SMF Adapter

The IMACWORK and RMFINTRV members define the service classes (for those running in goal mode) or performance groups (for those not running in goal mode) that make up the workloads at your site. As with all MXG customizations, copy the member that you want to modify from MXG.SRCLIB to MXGUSER.SRCLIB. Edit these copies according to the instructions or comments therein. Both members contain important notes about the mixing of service classes with reporting classes (in goal mode) and control performance groups with report performance groups (not in goal mode). A good job of customizing these members ensures useful information in the XRMFWKL, XRMFWKP, and XRMFINT tables.
Notice that the RMFINTRV member permits the specification of more workloads than the IMACWORK member permits by itself. Depending on your requirements, you could edit just one, or both, of these members.
If you want to simultaneously process SMF data from multiple machines and if these machines have defined different RMF intervals, then you must also review the setting of the INTERVAL= macro parameter of the %VMXGRMFI macro in the RMFINTRV member. The value that you choose for this parameter must be an interval into which all RMF intervals that are being processed divide evenly, without a remainder. For example, if the RMF intervals of two machines are 10 minutes and 15 minutes, use INTERVAL=HALFHOUR. Review the comments in the RMFINTRV member for all possible values for INTERVAL=. Even if you choose to process the data from different machines in different executions of the same staging job, subsequent analysis of the data is more effective if both sets of the data are processed with the same value for the INTERVAL= parameter.

IMACSHFT Customizations Relevant to All Domain Categories of the SMF Adapter

The IMACSHFT member is used to define your shift patterns. However, the SHIFT variable in the IT Resource Management staged tables is populated from a formula that is supplied with IT Resource Management, and is not propagated from MXG. The IT Resource Management shift formula’s definition can be changed to any valid SAS expression, or set of DATASTEP statements.

Customizations Relevant to the Jobs Domain Category of the SMF Adapter

IMACSPIN Customizations

The IMACSPIN member is used to specify the number of days for which incomplete jobs are retained in SPIN data sets. They are retained until either the jobs become complete or the time specified in the IMACSPIN member elapses. The default value is zero.
For information, see the comments in the IMACSPIN member.

IMACINTV Customizations

To enable the collection of SMF interval data, you must first ensure that your system is configured to generate the SMF interval accounting records. Work with your systems programming team to determine the changes that might be required in MVS system data set, SYS1.PARMLIB(SMFPRMxx).
When that change is made, you must also modify the IMACINTV MXG member. The default is set so that no TYPE30_V (SMF interval accounting) records are written to SAS data sets. You must copy IMACINTV from MXG.SRCLIB to MXGUSER.SRCLIB and remove the comments from around the OUTPUT statement, as described in the comments in the member.
Note: You can be selective about how many observations (or records) are written, by coding IF and THEN statements. The comments in the member contain examples.

Customizations Relevant to the CICS and DB2 Domain Categories of the SMF Adapter

IMACEXCL and UTILEXCL Customizations

The IMACEXCL member contains the original methods by which modifications to the CICS SMF type 110 record were supported in the MXG code that read them. These original methods have been superseded by the UTILEXCL member. The UTILEXCL member is the preferred method to dynamically create a new IMACEXCL member that is customized to support the actual SMF data being used at your site. The code is designed to run once, to generate the IMACEXCL member. You must then store that member in MXGUSER.SRCLIB to enable the SMF records to be decoded correctly into the SAS data sets.

ASUMCICX Customizations

SAS IT Resource Management has added response time counters to the summarized CICS table that MXG generates by default. To implement this feature, copy the ASUMCICX member from the ITRM.CPMISC pds to your MXGUSER.SRCLIB. Failure to do this causes warning messages to be issued about missing variables.
Note: SAS IT Resource Management is adapted to include the new metrics that the ASUMCICX member creates. This MXG member is stored in the SAS IT Resource Management CPMISC PDS on z/OS, or the misc folder on UNIX, or the sasmisc folder on Windows. Before you use the ASUMCICX member, you must run the UTILEXCL MXG job. This job creates and implements the IMACEXCL member that is customized for your site. Documentation for ASUMCICX and UTILEXCL can be found inside each member.

IMACUOW Customizations

By default, no ASUMUOW observations (or records) are written to the SAS data set. To process unit-of-work data, you must modify the IMACUOW MXG member. Copy it to your MXGUSER.SRCLIB and comment out (or delete) the first definition of the two macros, _NOOBS and _YESOBS. Then remove the comment indicator from the second definition, so that the macros are defined as follows:
MACRO _NOOBS   %
MACRO _YESOBS  %
In addition, if you have MQ series data that you want to add to the CICS and DB2 unit-of-work process, modify the code as instructed in IMACUOW to remove the comment indicator from the following statement:
%LET MXGMQADD=YES;

IMACUOWT Customizations

By default, no ASUMUOWT observations (or records) are written to the SAS data set. To process unit-of-work data from ASG TMON for CICS and SMF DB2, you must modify the IMACUOWT MXG member. Copy it to your MXGUSER.SRCLIB and comment out (or delete) the first definition of the two macros, _NOOBS and _YESOBS. Then remove the comment indicator from the second definition, so that the macros are defined as follows:
MACRO _NOOBS   % 
MACRO _YESOBS  % 

Customizations Relevant to the Jobs Domain Category of the CA TMS Adapter

By default, there is no single DATETIME variable that represents the date and time of each observation. Copy members IMACTMS5 and EXTMSDSN to your MXGUSER.SRCLIB. In the IMACTMS5 member, add the variable DATETIME to both the _KTMSDSN and _KTMSTMS macros by using the following code:
MACRO _KTMSDSN DATETIME % 
MACRO _KTMSTMS DATETIME %  
In the EXTMSDSN member, insert the following line of code in front of the OUTPUT statement:
RETAIN DATETIME “&SYSDATE:&SYSTIME"DT;

Customizations Relevant to the ASG TMON2CIC Adapter

If you are processing compressed TMON CICS records, you must do the following:
  1. Copy the member EXITMON6 to your MXGUSER.SRCLIB, and follow the instructions therein to assemble and install the MXG INFILE exit "TMON". This action permits both compressed and uncompressed records to be processed without intervention.
  2. Copy the member IMACTMO2 to your MXGUSER.SRCLIB. Modify it to remove the comment from the three lines of code as described therein. This change causes the INFILE statement to use the TMON exit described in the preceding step.
    Alternatively, the same three lines of code could be specified in the IMACKEEP member instead.
Complete the following customizations in MXG in order to process data for TMON/CICS versions 8.0, 9.0, 1.0 and 1.1:
  1. EXITMON6 - If you are using compressed TMON data, then tailor and run EXITMON6 by following the instructions that are contained within EXITMON6.
  2. IMACMONI - 1) Tailor IMACMONI by following the instructions within the member.
Complete the following customizations in MXG in order to process data for TMON/CICS ESA version 1.3 and later:
  1. EXITMON6 - If you are using compressed TMON data, then tailor and run EXITMON6 by following the instructions contained within EXITMON6.
  2. IMACTMON - 1) Tailor IMACTMON by following the instructions within the member.
You can also complete the following customizations to process TMON2CIC data with MXG:
  1. Run the job <prefix>.BAMISC(TMONEXIT) and put the module in <prefix>.LIBRARY.
  2. Update IMACKEEP by following the instructions in the EXITMON6 member of MXG sourclib. Put the following statements in IMACKEEP:
    MACRO _TMDB;
    INFILE TMDBIN   TMON STOPOVER LENGTH=LENGTH COL=COL END=END;
    %
  3. Run the staging job.

Specify Spin Libraries for ASG TMON2CIC and IBM SMF

The ASG TMON2CIC and IBM SMF adapters require that you specify a spin library for spin data. The staging transformations for these adapters create and register a separate spin library. Any existing data is moved to the new spin library as part of the installation, update, or migration process.
For the ASG TMON2CIC and IBM SMF adapters, a spin library must be created. You can create this library on the Spin Library tab of the staging transformation properties. On this tab, you can specify various parameters of the spin library or accept the default values. The spin library is then created only after you open the Spin Library tab and select OK. (If you are using the Adapter Setup wizard to specify the ASG TMON2CIC and IBM SMF adapter, the wizard creates the spin library for you.)
To specify a spin library for ASG TMON2CIC or IBM SMF, perform the following steps:
  1. From the Properties dialog box of an ASG TMON2CIC or IBM SMF staging transformation, click the Spin Library tab.
    Staging Transformation Properties: Spin Library Tab
    Staging Transformation Properties: Spin Library Tab
  2. Confirm that the IT data mart is correct for the current job. The value in this field cannot be changed.
  3. Specify the Name and Description of the spin library. SAS IT Resource Management generates default values for these parameters that include a standard naming convention for the library name (<adapter name> + Spin + <unique number>). For best results, if you modify the library name, use a standard naming convention that implements unique, identifiable names for all spin libraries that you register. A name value is required and a description is optional.
  4. Confirm the values for the Server and Libref fields for the IT data mart and spin library. The values in these fields cannot be changed.
  5. Enter the value for the Path Specification field for the metadata path that stores the spin library. SAS IT Resource Management generates the default path <adapter name> + Spin + <unique number>. You can accept the default path, enter a new path, or click Browse to select a path. A value is required in this field.
    Note: Browse is disabled when the selected application server is running on a machine using the z/OS operating system. When entering a z/OS path manually, you can use either a prefix for a traditional z/OS filesystem path (MY.DATAMART) or a root directory in the UFS hierarchical file system (/u/myname/datamart).
  6. If you are creating and registering libraries on z/OS, specify the following values:
    • file system device
    • the number of cylinders to use as the primary and secondary space allocation for the data set
    • the number of volumes to use when allocating space
    A value is required for these parameters only if you are working with z/OS.
  7. Click OK. The staging transformation creates the spin library as specified.

Limit IBM SMF Records

You might want to limit the IBM SMF records that are processed into an aggregation table to specific systems. To do so, you can use an aggregation filter. However, the disadvantage of using an aggregation filter is that the staging code is unnecessarily processing system data that will not be aggregated. In addition, this requires that a filter be set on each and every SMF aggregation. It is more efficient to filter data during the staging job processing.
To limit the IBM SMF records in order to process only specific systems in SAS IT Resource Management during a staging job process, add an IF statement in the IMACFILE MXG member. For example, to process only those records from a 'PROD' and 'TEST' system, perform the following steps:
  1. Place a copy of the IMACFILE MXG SOURCLIB member into your user MXG SOURCLIB.
  2. Modify the user IMACFILE MXG SOURCLIB member with the following SAS statement: IF SYSTEM IN ('PROD','TEST'); /*Only process records for these systems */where the systems for which you want to process IBM SMF records are listed in the IN clause.
For more examples or information about coding the IF statement, see the documentation inside the IMACFILE MXG SOURCLIB member.
Note: IMACFILE is a specific exit point taken by all SMF records, immediately after the SMF header is read. This exit point can be used if you want to bypass the processing of a record based on the machine that produced it.

How MSU and MIPS Columns Are Included in Staged Tables for the SMF Adapter

Overview of the MIPS and MSU Automation Process

In SAS IT Resource Management 3.2, additional columns are included that enhance the reporting of resource utilization for various categories of SMF activity, such as systems, LPARs, workloads, workload periods, jobs, and more. The additional columns reflect MSU (millions of service units) and MIPS (millions of instructions per second) based on CPU time expended during the activity. These columns are distinct from other MSU-related columns that are already present in the SMF rawdata. The following topics explain how the population of these new resource utilization columns in several of the SMF performance-based adapters and tables were automated.

Calculation Dependencies for MIPS and MSU Columns

The calculation of MIPS and MSU columns for SMF staged tables depend on the following items:
  • the creation of the MXG RMF interval data set. The following columns are extracted directly or derived from this data:
    • ID of the physical machine (MXG column SYSTEM)
    • ID of the physical CEC (MXG column CECSER)
    • CPU Model ID (MXG column CPCFNAME)
    • CPU Model Capacity Type (Full or Sub, value determined from CPCFNAME value)
    • Number of CPUs for the CPU model (MXG column NRCPUS)
    • Number of IFA specialty engines configured for use (MXG column NRIFAS)
    • Number of ZIP specialty engines configured for use (MXG column NRZIPS)
    • Total configured CPU engines. This column is the key merge column with the IBM Large System Performance Reference (LSPR) information.
      • If the CPU model is full capacity, this column is calculated as the sum of all configured standard, IFA, and ZIP engines.
      • If the CPU model is sub-capacity, the MXG column NRCPUS value is used.
    • Adjusted CPU Model ID:
      • If the CPU model is full capacity, the value of this column is determined by recalculating CPU engine specification to include the quantity of those additionally configured IFA and ZIP engines.
      • If the CPU model is sub-capacity, the MXG column CPCFNAME value is used.
    • Software service unit rate constant (MXG column CECSUSEC)
    • Hardware service unit rate constant (MXG column SU_SEC)
    • CPU Model MSU capacity (MXG column CPCMSU)
    • Minimum datetime present in the RMF interval data for the combination of the previously listed columns
    • Maximum datetime present in the RMF interval data for the combination of the previously listed columns
  • the availability of Vendor-supplied LSPR Resource Chart from IBM, from which the following columns are extracted:
    • CPU Model ID (This column is labeled Processor in the Vendor-Supplied LSPR Resource Chart. It is a key column that is used for merging with RMF interval data.)
    • CPU model available CPUs (This column is labeled #CP in the resource chart.)
    • IBM Processor Capacity Index (Also known as MIPS, this column is labeled PCI in the Vendor-Supplied LSPR Resource Chart.)
    • CPU Model MSU capacity (Also known as MSU, this column is labeled MSU in the Vendor-Supplied LSPR Resource Chart.)
  • the normalization of all CPU times used in MSU and MIPS calculations. (Based on current information, these CPU times are normalized in MXG.)

Initialization and Preparation of the MIPS and MSU Columns

SAS IT Resource Management supplies an initial copy of a SAS data set that contains currently available LSPR information.
Note: IBM might update this information with new processors or other information at a later date. Therefore, the LSPR information might need to be updated. If an update is needed, then the following two steps should be used to create an updated copy of the LSPR information.
To initialize and prepare MIPS and MSU columns for inclusion in your staging tables, perform the following steps:
  1. Create a Microsoft Excel spreadsheet that contains selected information from published (and currently available) IBM LSPR information. (You must reference the current published location of the IBM LSPR information. At this time, this information is located at https://www-304.ibm.com/servers/resourcelink/lib03060.nsf/pages/lsprindex?OpenDocument.)
    Copy and paste a selected set of columns from the published LSPR data into a Windows Excel spreadsheet. The resulting workbook should look like the following table and reflect the information that is documented in the topic called Calculation Dependencies for MIPS and MSU Columns.
    Vendor-Supplied LSPR Resource Chart
    Processor
    (CPU Model ID)
    #CP
    (Number of CPUs Available per CPU Model)
    PCI
    (IBM Processor Capacity Index)
    MSU
    (CPU Model MSU Capacity)
    2066-0E1
    1
    35
    7
    2066-0A1
    1
    71
    13
    2066-0B1
    1
    102
    20
    2066-0C1
    1
    126
    25
    2066-0X2
    2
    145
    28
    2066-001
    1
    170
    32
    2066-0A2
    2
    234
    44
    2066-002
    2
    319
    60
    2066-003
    3
    460
    84
    2066-004
    4
    590
    108
    2086-110
    1
    24
    4
    2086-210
    2
    47
    8
    2086-310
    3
    70
    11
    2086-410
    4
    92
    15
    2086-120
    1
    43
    7
    2086-220
    2
    84
    13
    2086-320
    3
    125
    20
    2086-420
    4
    165
    26
  2. Once created, the Microsoft Excel spreadsheet can be used as input in the following PROC IMPORT and DATA STEP code. This code creates a permanent SAS data set that resides in an IT Resource Management Admin library.
    /
    * Read the Microsoft Excel workbook that contains extracted information from 
    IBM LSPR documentation	and create a SAS data set from it. */ 
    
    PROC IMPORT OUT= WORK.LSPRDATA  
         DATAFILE= <"location-of-spreadsheet-created-in-step-3">
         DBMS=EXCEL REPLACE;
         SHEET="Sheet1$"; 
     	    GETNAMES=NO;
         MIXED=NO; 
         SCANTEXT=YES; 
         USEDATE=YES;  
         SCANTIME=YES;
     RUN;
     
    /* Extract selected fields of information from the vendor-supplied 
    LSPR resource information. */
    
    DATA WORK.LSPRDATA(keep=CPCFMODL LSPRCPUS LSPRPCI LSPRMSU);
        SET WORK.LSPRDATA;
      	 LENGTH CPCFMODL $ 8; 
     		 IF _n_=1 THEN DELETE;
      	 CPCFMODL=F1; 
     		 LSPRCPUS=F2; 
     		 LSPRPCI=F3;
      	 LSPRMSU=F4; 
    run; 
    
    /* Store IBM LSPR resource information in SAS data set in 
    IT Resource Management Admin library. */  
    
    LIBNAME ADMIN <'location-of-ITRM-Admin-library'>;
    PROC SORT DATA=WORK.LSPRDATA out=ADMIN.ITMS_SMF_LSPRDATA;
        BY CPCFMODL; 
    RUN;
    

Staging Methodology for MIPS and MSU Columns

The following steps describe the methodology that SAS IT Resource Management uses to stage RMF interval data.
  1. After MXG stages the RMF interval data and before IT Resource Management begins its staging transformation processing, code is executed to extract the necessary columns from the RMF interval data (MXG data set RMFINTRV). This code captures the distinct resource utilization entries from the RMF interval data that has just been staged. Another code step also extracts the current contents of the existing Resource Utilization table.
  2. Using the recently staged RMF interval data, code is executed to determine whether the available CPU models in the data are full capacity models or sub-capacity models. This model capacity information and a calculation of total available CPUs for the full capacity models are included with the rest of the RMF interval data extracted previously.
  3. The existing Resource Utilization table is merged with the staged RMF interval data in preparation for merging with the IBM LSPR information.
  4. The latest available LSPR information from IBM is read so that it can be included in the Resource utilization table. The latest available LSPR information is available from one of the following two sources:
  5. The combined Resource Utilization table information (from the previous resource utilization table data and the new RMF interval data) and the extracted IBM LSPR resource information are merged together by the common column CPCFMODL, which is the adjusted CPU model. This merge creates a new current copy of the Resource Utilization table, which replaces the existing copy. (The staging code created an empty Resource Utilization Table for this purpose.)
    If, as a result of this merge, a machine in your RMF data is not listed in your LSPR table, SAS IT Resource Management will halt the staging job and write an ERROR message to the SAS log.
    • If the LSPR information and the subsequent calculations that are based on it are important to you, you should update your LSPR table as soon as possible. Do not attempt to rerun the staging job until the updated table has been implemented and stored in your Admin library. For information about updating your LSPR table, see Initialization and Preparation of the MIPS and MSU Columns.
    • If you are not interested in the LSPR information, you can bypass the error and continue processing the data. To do so, set the LSPR_ERROR_ON macro variable at the beginning of your staging job. The following code bypasses the error and enables processing to continue:
      %LET LSPR_ERROR_ON=N;
      This code sets all subsequent calculations that are based on the LSPR information to missing values. The SAS log will contain notes about this instead of errors.
  6. The newly updated Resource Utilization table data can be used to include various parts of this information in staging extracts so that resource utilization computed columns for MSU and MIPS can be calculated. Lookups can be done using System, CEC, or CPU Model columns present in the Resource Utilization table. The following table shows the type of columns and the corresponding information for those columns that is available in the Resource Utilization table.
Note: The RMF CPU Resource Table consists of 17 columns and a variable number of rows. (In the following example, the table contains sample data for two rows.) In order to present all the columns that are available in the table in a legible format, the table was rotated 90 degrees, with the columns displaying as rows, and the rows displaying as columns.
RMF CPU Resource Table: Column Names and Two
Name of the Column in the Resource Utilization Table
Sample Values for First Row of the Table
Sample Values for Second Row of the Table
System ID
DEVA
POA2
Cec ID
(from RMF)
B77A
3A7A
CPU Model
(from RMF)
2094-706
2066-0A2
Cpu Model Capacity Type
(extrapolated from CPU Model ID from RMF)
Full
Sub
Standard CPU Engines
(from RMF)
6
2
IFA CPU Engines
(from RMF)
2
0
ZIP CPU Engines
(from RMF)
1
0
Total CPU Engines
(calculated if full capacity model, else standard CPUs from RMF)
9
2
CPU Model
extrapolated if full capacity model, else CPU model from RMF)
2094-709
2066-0A2
CPU Model CPUs
(from LSPR)
9
2
CEC Su/Sec
(CEC Service constant from RMF)
19536.019536
6165.7032755
Su/Sec
(CPU Conversion constant from RMF)
25559.105431
6341.6567578
CPU Model MSU Capacity
(from RMF)
422.00
44.00
CPU Model MSU Capacity
(from LSPR)
584.00
44.00
IBM Processor Capacity Index
(also known as MIPS from LSPR)
4,366.00
234.00
Minimum Datetime
(from RMF)
01Mar08:00:00:00
01Mar08:00:00:00
Maximum Datetime
(from RMF)
01Mar08:23:45:00
01Mar08:23:30:00
MSU/MIPS Conversion Factor
(calculated)
7.48
5.32

Additional Notes about MIPS and MSU Calculations

The following notes pertain to the calculation of the MIPS and MSU columns.
  • When dealing with a full capacity model, any additional specialty CPU engines, such as IFA and ZIP, that have been configured for your system must be included in the calculations. These specialty CPU engines are added to the Total CPU Engines and this new value is stored in the resource table under a column labeled Total CPU Engines (calculated if full capacity model, else standard CPUs from RMF).
    The CPU Model ID value is adjusted to reflect the addition of any specialty engines. For example, suppose there are three additional specialty engines on a full capacity model (2094-706): two engines for IFA and one for ZIP. As a result, the CPU model value is adjusted from 2094-706 to 2094-709 to account for the three additional specialty engines. The latter model ID specification is used to match up to the IBM LSPR information to retrieve the relevant MSU and MIPS ratings. These ratings are then used to calculate the MSU/MIPS conversion factor. This refined methodology for the full capacity CPU model results in a different MsuMipsConversionFactor. The difference is due to using an adjusted CPU model and the LSPR MSU and MIPS ratings that are associated with this adjusted CPU model.
    In our sample, without using an adjusted CPU model, the calculation of the MsuMipsConversionFactor is 7.32. Using an adjusted CPU model for the calculation, the MsuMipsConversionFactor is calculated to be 7.48. This results in higher MIPS amounts for CPU activity on the full capacity models that include additional specialty engines.
  • The calculation of MIPS is done in two distinct ways, depending on the IT Resource Management table that is being staged.
    • For systems (IT Resource Management tables XRMFSYS and XRMFINT) and LPARs (IT Resource Management tables XASM70L and XASMCEL), MSU is calculated using the hardware-based active CPU times from the RMF type 70 records and the hardware service adjustment factor (SUSEC). MIPS are then calculated by multiplying the MSU result by the appropriate MsuMipsConversionFactor for the associated processor type.
    • For workloads and workload periods (IT Resource Management tables XRMFWKL, XRMFWKP, XTY72GO) and batch jobs, TSO sessions, and OMVS sessions (IT Resource Management table XJOBS), we calculate MSU by using the application-based active CPU times from the RMF type 72 records and the software service adjustment factor (CECSUSEC). MIPS are then calculated by multiplying the MSU result by the appropriate MsuMipsConversionFactor for the associated processor type.
    Note: For details about the specific calculations, see MSU and MIPS Calculations.
  • If comparisons are performed between system and LPAR MIPS values that are based on RMF type70 hardware-based active CPU times and other MIPS values, such as workload, workload period, jobs, and so on, that are based on RMF type72 application-based active CPU times, note that the system- and LPAR-based MIPS will be larger. The reason that the times are different is because the uncaptured CPU time is not available in the type72 record. The difference in values is typically in the 5-15% range.

MSU and MIPS Calculations

All calculations listed in the following table are calculated from normalized CPU times, as provided by MXG.
Domain Category
Staged Table
Computed Column
Column Label
Calculation
System
XRMFSYS
XRMFINT
SYSMSU
SystemCpuMsuUsage
if CPACTTM > 0 then SYSMSU= CPACTTM * SUSEC / 1000000; else SYSMSU=.;
SYSMIPS
SystemCpuMipsUsage
if MIPSFACT ^= . and CPACTTM > 0 then SYSMIPS=(CPACTTM * SUSEC / 1000000) * MIPSFACT; else SYSMIPS=.;
IFAMSU
IfaCpuMsuUsage
if IFAACTT > 0 then IFAMSU= IFAACTT * SUSEC / 1000000; else IFAMSU=.;
IFAMIPS
IfaCpuMipsUsage
if MIPSFACT ^= . and IFAACTT > 0 then IFAMIPS= ( IFAACTT * SUSEC / 1000000) * MIPSFACT; else IFAMIPS=.;
ZIPMSU
ZipCpuMsuUsage
if ZIPACTT > 0 then ZIPMSU= ZIPACTT * SUSEC / 1000000; else ZIPMSU=.;
ZIPMIPS
ZipCpuMipsUsage
if MIPSFACT ^= . and ZIPACTT > 0 then ZIPMIPS= ( ZIPACTT * SUSEC / 1000000) * MIPSFACT; else ZIPMIPS=.;
TOTMSU
AllEngCpuMsuUsage
AllEngCpuMsuUsage if CPACTTM > 0 or IFAACTT > 0 or ZIPACTT > 0 then TOTMSU=(sum(CPACTTM, IFAACTT, ZIPACTT) * SUSEC) / 1000000; else TOTMSU=.;
TOTMIPS
AllEngCpuMipsUsage
if MIPSFACT ^= . then TOTMIPS=(sum(CPACTTM, IFAACTT, ZIPACTT) * SUSEC / 1000000) * MIPSFACT; else TOTMIPS=.;
MSUCAP
SystemMsuCapacity
DURATION * NRCPUS * SUSEC / 1000000
MIPSCAP
SystemMipsCapacity
if MIPSFACT ^= . then MIPSCAP=FLOOR(MIPSFACT * (DURATION * NRCPUS * SUSEC / 1000000)); else MIPSCAP=.;
Lpar
CecLpar
XASM70L
XASMCEL
LPRSYSMSU
LparCpMsuUsage
if LCPUPDT > 0 then LPRSYSMSU= LCPUPDT * SUSEC / 1000000; else LPRSYSMSU=.;
LPRSYSMIPS
LparCpMipsUsage
if MIPSFACT ^= . and LCPUPDT > 0 then LPRSYSMIPS= ( LCPUPDT * SUSEC / 1000000) * MIPSFACT; else LPRSYSMIPS=.;
LPRIFAMSU
LparIfaMsuUsage
if IFAACTT > 0 then LPRIFAMSU=IFAACTT * SUSEC / 1000000; else LPRIFAMSU=.;
LPRIFAMIPS
LparIfaMipsUsage
if MIPSFACT ^= . and IFAACTT > 0 then LPRIFAMIPS=(IFAACTT* SUSEC / 1000000) * MIPSFACT; else LPRIFAMIPS=.;
LPRZIPMSU
LparZipMsuUsage
if ZIPACTT > 0 then LPRZIPMSU=ZIPACTT * SUSEC / 1000000; else LPRZIPMSU=.;
LPRZIPMIPS
LparZipMipsUsage
if MIPSFACT ^= . and ZIPACTT > 0 then LPRZIPMIPS=(ZIPACTT * SUSEC / 1000000) * MIPSFACT; else LPRZIPMIPS=.;
LPRTOTMSU
LparAllEngMsuUsage
if LCPUPDT > 0 or IFAACTT > 0 or ZIPACTT > 0 then LPRTOTMSU=(sum(LCPUPDT, IFAACTT, ZIPACTT)* SUSEC) / 1000000; else LPRTOTMSU=.;
LPRTOTMIPS
LparAllEngMipsUsage
if MIPSFACT ^= . then LPRTOTMIPS= (sum(LCPUPDT, IFAACTT, ZIPACTT) * SUSEC / 1000000) * MIPSFACT; else LPRTOTMIPS=.;
Workload
XRMFWKL
WKLMSU
WorkloadCpuMsuUsage
Workload XRMFWKL WKLMSU WorkloadCpuMsuUsage if WKLCPU > 0 then WKLMSU=(WKLCPU*CECSUSE) / 1000000; else WKLMSU=.;
WKLMIPS
WorkloadCpuMipsUsage
if MIPSFACT ^= . and WKLCPU > 0 then WKLMIPS=((WKLCPU*CECSUSE) / 1000000) * MIPSFACT; else WKLMIPS=.;
WKLIFAMSU
WorkloadIfaCpuMsuUsage
if WKLIFA > 0 then WKLIFAMSU=(WKLIFA*CECSUSE) / 1000000; else WKLIFAMSU=.;
WKLIFAMIPS
WorkloadIfaCpuMipsUsage
if MIPSFACT ^= . and WKLIFA > 0 then WKLIFAMIPS=((WKLIFA*CECSUSE) / 1000000) * MIPSFACT; else WKLIFAMIPS=.;
WKLZIPMSU
WorkloadZipCpuMsuUsage
if WKLZIP > 0 then WKLZIPMSU=(WKLZIP*CECSUSE) / 1000000; else WKLZIPMSU=.;
WKLZIPMIPS
WorkloadZipCpuMipsUsage
if MIPSFACT ^= . and WKLZIP > 0 then WKLZIPMIPS=((WKLZIP*CECSUSE) / 1000000) * MIPSFACT; else WKLZIPMIPS=.;
WKLTOTMSU
WorkloadAllEngCpuMsuUsage
if WKPCPU > 0 or WKPIFA > 0 or WKPZIP > 0 then WKLTOTMSU=(sum(WKPCPU,WKPIFA,WKPZIP) * CECSUSE) / 1000000; else WKLTOTMSU=.;
WKLTOTMIPS
WorkloadAllEngCpuMipsUsage
if MIPSFACT ^= . then WKLTOTMIPS=(sum(WKPCPU,WKPIFA,WKPZIP) * CECSUSE/ 1000000)*MIPSFA CT; else WKLTOTMIPS=.;
Workload Period
XRMFWKP
WKPMSU
WorkloadPeriodCpuMsuUsage
if WKPCPU > 0 then WKPMSU=(WKPCPU*CECSUSE) / 1000000; else WKPMSU=.;
WKPMIPS
WorkloadPeriodCpuMipsUsage
if MIPSFACT ^= . and WKPCPU > 0 then WKPMIPS=((WKPCPU*CECSUSE) / 1000000) * MIPSFACT; else WKPMIPS=.;
WKPIFAMSU
WorkloadPeriodIfaCpuMsuUsage
if WKPIFA > 0 then WKPIFAMSU=(WKPIFA*CECSUSE) / 1000000; else WKPIFAMSU=.;
WKPIFAMIPS
WorkloadPeriodIfaCpuMipsUsage
if MIPSFACT ^= . and WKPIFA > 0 then WKPIFAMIPS=((WKPIFA*CECSUSE) / 1000000) * MIPSFACT; else WKPIFAMIPS=.;
WKPZIPMSU
WorkloadPeriodZipCpuMsuUsage
if WKPZIP > 0 then WKPZIPMSU=(WKPZIP*CECSUSE) / 1000000; else WKPZIPMSU=.;
WKPZIPMIPS
WorkloadPeriodZipCpuMipsUsage
if MIPSFACT ^= . and WKPZIP > 0 then WKPZIPMIPS=((WKPZIP*CECSUSE) / 1000000) * MIPSFACT; else WKPZIPMIPS=.;
WKPTOTMSU
WorkloadPeriodAllEngCpuMsuUsage
if WKPCPU > 0 or WKPIFA > 0 or WKPZIP > 0 then WKPTOTMSU=(sum(WKPCPU,WKPIFA,WKPZIP) * CECSUSE) / 1000000; else WKPTOTMSU=.;
WKPTOTMIPS
WorkloadPeriodAllEngCpuMipsUsage
if MIPSFACT ^= . then WKPTOTMIPS=(sum(WKPCPU,WKPIFA,WKPZIP) * CECSUSE/1000000)*MIPSFACT; else WKPTOTMIPS=.;
Goal Mode Period
XTY72GO
PRDMSU
PeriodCpuMsuUsage
if CPUTM > 0 then PRDMSU=CPUTM*CECSUSE/1000000; else PRDMSU=.;
PRDMIPS
PeriodCpuMipsUsage
if MIPSFACT ^= . and CPUTM > 0 then PRDMIPS=(CPUTM*CECSUSE/1000000) * MIPSFACT; else PRDMIPS=.;
PRDIFAMSU
PeriodIfaCpuMsuUsage
if CPIFATM > 0 then PRDIFAMSU=CPIFATM*CECSUSE/1000000; else PRDIFAMSU=.;
PRDIFAMIPS
PeriodIfaCpuMipsUsage
if MIPSFACT ^= . and CPIFATM > 0 then PRDIFAMIPS=(CPIFATM*CECSUSE/1000000) * MIPSFACT; else PRDIFAMIPS=.;
PRDZIPMSU
PeriodZipCpuMsuUsage
if CPZIPTM > 0 then PRDZIPMSU=CPZIPTM*CECSUSE/1000000; else PRDZIPMSU=.;
PRDZIPMIPS
PeriodZipCpuMipsUsage
if MIPSFACT ^= . and CPZIPTM > 0 then PRDZIPMIPS=(CPZIPTM*CECSUSE/1000000) * MIPSFACT; else PRDZIPMIPS=.;
PRDTOTMSU
AllEngCpuTimeMsuUsage
if CPUTM > 0 or CPIFATM > 0 or CPZIPTM > 0 then PRDTOTMSU=(sum(CPUTM,CPIFATM,CPZIPTM) * CECSUSE) / 1000000; else PRDTOTMSU=.;
PRDTOTMIPS
AllEngCpuTimeMipsUsage
if MIPSFACT ^= . then PRDTOTMIPS= (sum(CPUTM,CPIFATM,CPZIPTM) * CECSUSE/1000000)*MIPSFACT; else PRDTOTMIPS=.;
Batch Jobs
TSO
OMVS
XJOBS
SYSMSU
SystemCpuMsuUsage
if CPUTM > 0 then SYSMSU=CPUTM*CECSUSE/1000000; else SYSMSU=.;
SYSMIPS
SystemCpuMipsUsage
if MIPSFACT ^= . and CPUTM > 0 then SYSMIPS=(CPUTM*CECSUSE/1000000) * MIPSFACT; else SYSMIPS=.;
IFAMSU
IfaCpuMsuUsage
if CPIFATM > 0 then IFAMSU=CPIFATM*CECSUSE/1000000; else IFAMSU=.;
IFAMIPS
IfaCpuMipsUsage
if MIPSFACT ^= . and CPIFATM > 0 then IFAMIPS=(CPIFATM*CECSUSE/1000000) * MIPSFACT; else IFAMIPS=.;
ZIPMSU
ZipCpuMsuUsage
if CPZIPTM > 0 then ZIPMSU=CPZIPTM*CECSUSE/1000000; else ZIPMSU=.;
ZIPMIPS
ZipCpuMipsUsage
if MIPSFACT ^= . and CPZIPTM > 0 then ZIPMIPS=(CPZIPTM*CECSUSE/1000000)*MIPSFACT; else ZIPMIPS=.;
TOTMSU
AllEngCpuMsuUsage
if CPUTM > 0 or CPIFATM > 0 or CPZIPTM > 0 then TOTMSU=(sum(CPUTM,CPIFATM,CPZIPTM) * CECSUSE) / 1000000; else TOTMSU=.;
TOTMIPS
AllEngCpuMipsUsage
if MIPSFACT ^= . then TOTMIPS=(sum(CPUTM,CPIFATM,CPZIPTM) * CECSUSE/1000000)*MIPSFACT; else TOTMIPS=.;