Presentation is loading. Please wait.

Presentation is loading. Please wait.

MXG Update 2012 Dr. Barry Merrill

Similar presentations


Presentation on theme: "MXG Update 2012 Dr. Barry Merrill"— Presentation transcript:

1 MXG Update 2012 Dr. Barry Merrill
Southwest Computer Measurement Group Mon Sep 24th IBM Innovation Center Dallas, TX

2 Agenda Installing MXG Software UTILBLDP BLDSMPDB ANALID ANALGRID
VMXGPRNT VMXGFIND VMXGSRCH READDB2 ANALCAPD MXG SOFTWARE UPDATES

3 Installing MXG z/OS: Download the TERvvnn.TER file which is a tersed copy of the MXG SOURCLIB PDS and when untersed automagically creates the PDS containing all of the SOURCE. .ASCII: Download the DIRVVNN.ZIP file which is a zipped copy of the MXG Source Directory.

4 Installing MXG - zOS FTP Tersed //FTPMXG EXEC PGM=FTP,PARM='(EXIT=4'
//SYSPRINT DD SYSOUT=*,DCB=BLKSIZE=133 //SYSABEND DD SYSOUT=* //SYSOUT DD SYSOUT=* //FTPOUT DD SYSOUT=* //SYSIN DD * USERID PASSWORD LOCSITE LRECL=1024 RECFM=FB BLKSIZE=6144 LOCSITe UNIT=SYSDA PRIMARY=5000 SECONDARY=300 BINARY GET TER3006.TER 'MXG.TER3006.TER' (REPLACE CLOSE QUIT FTP Tersed

5 Installing MXG - zOS UNTERSE //UNTERSE EXEC PGM=TRSMAIN,PARM='UNPACK'
//SYSPRINT DD SYSOUT=* //INFILE DD DSN=MXG.TER3006.TER,DISP=SHR //OUTFILE DD DSN=MXG.V3006.MXG.SOURCLIB,UNIT=SYSDA, // DISP=(NEW,CATLG),RECFM=FB,LRECL=80,BLKSIZE=0, // AVGREC=M,SPACE=(80,(3,1,1199)) PDS: 3 Million 80 BYTE Records

6 Installing MXG Building one or more USERID.SOURCLIBs.
Why more than one?? Sometimes putting in an entire new release is not necessary but it can result in mounds of paperwork (which we all love.) Putting in a single member can reduce the paperwork since it then becomes a ‘fix’ and not a new release Putting those ‘fixes’ into a CHANGES.SOURCLIB between new releases and then emptying CHANGES when you put in the new release can be simpler

7 Installing MXG - z/OS Building USER SOURCLIBs //STEP2 EXEC PGM=IEFBR14
//USERID DD DSN=MXG.USERID.SOURCLIB,UNIT=SYSDA, // DISP=(NEW,CATLG),RECFM=FB,LRECL=80,BLKSIZE=0, // SPACE=(CYL,(15,15,99)) //CHANGES DD DSN=MXG.CHANGES.SOURCLIB,UNIT=SYSDA,

8 Installing MXG - z/OS Run FORMATS //FORMATS EXEC SAS,ENTRY=SAS,
// CONFIG='MXG.V3006.MXG.SOURCLIB(CONFIGV9)' //SASLOG DD SYSOUT=* //SASLIST DD SYSOUT=* //SOURCLIB DD DSN=MXG.USERID.SOURCLIB,DISP=SHR // DD DSN=MXG.CHANGES.SOURCLIB,DISP=SHR // DD DSN=MXG.V3006.MXG.SOURCLIB,DISP=SHR //LIBRARY DD DSN=MXG.V3006.MXG.FORMATS, // UNIT=SYSDA,DISP=(NEW,CATLG),SPACE=(CYL,(12,2)) //SYSIN DD * %INCLUDE SOURCLIB(FORMATS); //*

9 Installing MXG – z/OS A separate MXGSASnn JCL PROCEDURE is no longer required. In your USERID.SOURCLIB create a member MXGNAMES with These statements to define your DSNAMEs: %LET MXGSOURC=MXG.V3006.SOURCLIB; %LET MXGFORMT=MXG.FORMATS; %LET MXGUSER1=MXG.CHANGES.SOURCLIB; %LET MXGUSER2=MXG.USERID.SOURCLIB; %LET MXGUSER3=;

10 Installing MXG – z/OS Now you can use the base SAS PROC which keeps SAS changes out of the way. //STEP1 EXEC SAS,CONFIG=‘MXG.SOURCLIB(CONFIMXG)’ //MXGNAMES DD DSN=MXG.USERID.SOURCLIB(MXGNAMES),DISP=SHR //whatever other DDs are needed for the job //SYSIN DD * your SAS program

11 UTILBLDP Normally the code to read an SMF record is:
%INCLUDE SOURCLIB(TYPE30); And to read two types you might code: %INCLUDE SOURCLIB(TYPE1415); But that would cause two passes of the SMF dataset which can be very large and make this an expensive and time consuming process. With UTILBLDP this becomes: %UTILBLDP(USERADD= , BUILDPDB=NO,SORTOUT=NO,OUTFILE=INSTREAM); %INCLUDE INSTREAM;

12 BLDSMPDB Allows for reruns User code Run daily/weekly/monthly
There are numerous parameters – too many to mention here but all are documented in the member of SOURCLIB Allows for reruns User code Run daily/weekly/monthly Run WTD MTD Run TRENDing daily/weekly Read DCOLLECT and Tape management data And much much more… Combine UTILBLDP and BLDSMPDB to tailor your PDB Use UTILBLDP to add/subtract record types and specify things to run after BUILDPDB Use BLDSMPDB to control the execution of BUILDPDB

13 ANALID New MACRO to create an SMF Audit dataset and report READSMF=NO
PRINT=YES PDBOUT=PDB PERCENTS=YES ODS parameters

14 ANALID - Sample

15 ANALID - Sample

16 ANALID – Sample

17 ANALGRID Creates a dense color coded grid of values using PROC REPORT
Does not require SAS/GRAPH Works on all SAS versions and above Read ASUM70LP and for the specified system create a grid of CPU busy for a day. This is the default with addition of an INCODE to select a specific LPAR %ANALGRID(INCODE=IF LPARNAME=SYSG;);

18 VMXGPRNT Print PDB.DB2ACCT VMXGPRNT(SP_DSET=PDB.DB2ACCT,SP_NOBS=3);

19 VMXGFIND %VMXGFIND(FIND=QWHSSSID=DBTB,PRINT=3);
Utility that will find every OBS in every dataset where some condition is satisfied and make a copy/print the observations. For example: Find all obs where JOB=:’CICS’ If PRINT=YES or xxx then VMXGPRNT is used to do the printing %VMXGFIND(FIND=QWHSSSID=DBTB,PRINT=3);

20 VMXGSRCH Utility that will find every observation in every dataset in every allocated SAS data library where the value of the observation contains some string. %VMXGSRCH(LOG=NO,RESULTS=COUNT, VALUE=D2DD,LIBNAME=PDB);

21 READDB2 - Parameters MXG supplied macro that generates the code to read all of the different types of DB2 SMF data (all IFCIDs). It has been ‘enhanced’ to make a copy of the SMF data and allow for selection based on reading the record headers only which makes it very fast. SYSTEM – list of systems PLAN – list of plan names AUTHID – list of authorization IDs CORRID – list of correlation IDs CONNID – list of connection IDs DB2 – list of DB2 subsystems CONNTYPE – list of connect types

22 ANALCAPD Uses the ASUMCEC dataset in the PDB as input
Can you save money by capping the MSU’s consumed? Billing is based on the peak of the rolling 4 hour MSU average Rolling average will (almost) always lag behind actual usage So, you can set a cap lower than the actual peak and possibly reduce software billing ANALCAPD will let you ‘play’ with values to find a happy MSU value that allows work to run while reducing the peak MSU value Uses the ASUMCEC dataset in the PDB as input Best granularity is when you match CECINTRV to INTERVAL in ASUM70PR

23 ANALCAPD - Results Black line is current capacity
Cyan line is current cap (in this case there is not one) Blue line is actual usage Green line is rolling 4 hour average Red * are the intervals where the CEC would have been capped

24 MXG Software Support Updates
Major enhancements/corrections added in MXG 30.06, dated Sep 1, 2012: TYPE Support WebSphere Asynchronous Section 120 Subtype 9. TYPETAPR Support for Tandem Prognosis data files. TYPEZVPS Support XAM/ZVPS VCPU Virtual CPU segment XMUSVCPU TYPE Support for IFCID=271 DB2 AUDIT PERMISSIONS trace. TYPENTSM Support MicroSoft Exchange 2010 incompat changes. TYPENMON Updates to NMON/TOPAS Monitor for AIX and LINUX. VGETOBS SAS 9.2 z/OS ONLY VGETOBS didn't recognize tape dset. EXITCICS DB2 V10 compressed records "enhanced": NOW WORKS! ANALDB2R DB2 AUDIT reports updated for DB2PM Version 4.2 TYPE Support for IFCID 269,270 Audit, decodes uniques. TYPEDB Support for (optional) DB2 Netezza Accelerator data. TYPE Support for APAR OA39629 HICPUPCT/HICPUPGM TYPE30. TYPEMVCI Support for Mainview CICS v64 CICS/TS 4.2 (COMPAT).

25 MXG Software Support Updates
TYPETMD Support for ASG/Landmark TMON DB2 PTFs TE03699/03718. ASMRMFV Support for RMF III ASIG3 segments '13'x and '14'x. TYPE Support for CO:Z SMF 119 Subtypes 192 and 193. TYPE Support for z/OS 1.13-added RAS segment (COMPATIBLE). TYPERACF Support for RACF database Record 02G1. TYPEDB Support for DB2 V10 restructured QIST statistics. TYPEZPRO Support for Voltage SecureData for z/OS z/Protect. TYPEDB Support for DB2 V10 APAR PM24723 adds data IFCID=225. TYPE Support for GDPS SMF 105 now validated with SMF data. TYPESAMS Support for CA Vantage Stor Resc MGR INCOMAT. TYPE Support for RMF 74 APAR OA36831 (COMPAT) SMF74NSS. TYPECMA Support for CA-Spool Subtype 12 (partial). TYPEFERT Support for new subtype 1 and 4 FERRET SMF records. TYPE Support for MQ QJST 7.01B Statistics Block. TYPE SMF 117 IMFL subtype SM17ACCT kept in WS SMF.

26 MXG Software Support Updates
TYPE Support for BMC APPTUNE V6R3 SMF 102 records INCOMPAT TYPE Support for DB2 IFCIDs 357 and 358. TYPE Support for DB2 APAR PM37956 to SMF 102 IFCID 25 TYPE Support for SMF 119 ST 6 z/OS 1.13 (INCOMPAT). TYPE Support for APAR OA33947 for TS1140 Tape Drive TYPE Support for SMF 85 records from z/OS 1.13 (INCOMPAT, TYPEBBMQ Support for BMC Mainview for MQ Version 5.1 (INCOMPAT TYPEBVIR Support for TS7700 Version 2.0a (INCOMPATIBLE) TYPEEZSM Support for EMC EzSM z/OS Storage Manager SMF record TYPEHSM Support for HSM SMF z/OS 1.12 changes (COMPATIBLE) TYPESVIE Support for SYSVIEW PTF Test APAR TSD0145, for IMS. TYPETMD Support for TMON/DB2 V5, INCOMPATIBLE, for DB2 V10. TYPETMMQ Support for TMON for MQ Version 2.2/2.3/2.4 INCOMPAT


Download ppt "MXG Update 2012 Dr. Barry Merrill"

Similar presentations


Ads by Google