MXG Update 2012 Dr. Barry Merrill

advertisement
MXG Update 2012
Dr. Barry Merrill
Southwest Computer
Measurement Group
Mon Sep 24th
IBM Innovation Center
Dallas, TX
Agenda
•
•
•
•
•
•
•
•
•
•
•
Installing MXG Software
UTILBLDP
BLDSMPDB
ANALID
ANALGRID
VMXGPRNT
VMXGFIND
VMXGSRCH
READDB2
ANALCAPD
MXG SOFTWARE UPDATES
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.
Installing MXG - zOS
//FTPMXG EXEC PGM=FTP,PARM='(EXIT=4'
//SYSPRINT DD SYSOUT=*,DCB=BLKSIZE=133
//SYSABEND DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//FTPOUT DD SYSOUT=*
//SYSIN DD *
70.86.188.234
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
Installing MXG - zOS
• UNTERSE
//UNTERSE
//SYSPRINT
//INFILE
//OUTFILE
//
//
EXEC PGM=TRSMAIN,PARM='UNPACK'
DD SYSOUT=*
DD DSN=MXG.TER3006.TER,DISP=SHR
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
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
Installing MXG - z/OS
• Building USER SOURCLIBs
//STEP2
//USERID
//
//
//CHANGES
//
//
EXEC PGM=IEFBR14
DD DSN=MXG.USERID.SOURCLIB,UNIT=SYSDA,
DISP=(NEW,CATLG),RECFM=FB,LRECL=80,BLKSIZE=0,
SPACE=(CYL,(15,15,99))
DD DSN=MXG.CHANGES.SOURCLIB,UNIT=SYSDA,
DISP=(NEW,CATLG),RECFM=FB,LRECL=80,BLKSIZE=0,
SPACE=(CYL,(15,15,99))
Installing MXG - z/OS
• Run FORMATS
//FORMATS
//
//SASLOG
//SASLIST
//SOURCLIB
//
//
//LIBRARY
//
//SYSIN
%INCLUDE
//*
EXEC SAS,ENTRY=SAS,
CONFIG='MXG.V3006.MXG.SOURCLIB(CONFIGV9)'
DD SYSOUT=*
DD SYSOUT=*
DD DSN=MXG.USERID.SOURCLIB,DISP=SHR
DD DSN=MXG.CHANGES.SOURCLIB,DISP=SHR
DD DSN=MXG.V3006.MXG.SOURCLIB,DISP=SHR
DD DSN=MXG.V3006.MXG.FORMATS,
UNIT=SYSDA,DISP=(NEW,CATLG),SPACE=(CYL,(12,2))
DD *
SOURCLIB(FORMATS);
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
%LET
%LET
%LET
%LET
MXGSOURC=MXG.V3006.SOURCLIB;
MXGFORMT=MXG.FORMATS;
MXGUSER1=MXG.CHANGES.SOURCLIB;
MXGUSER2=MXG.USERID.SOURCLIB;
MXGUSER3=;
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
UTILBLDP
• Normally the code to read an SMF record is:
• %INCLUDE SOURCLIB(TYPE30);
• And to read two types you might code:
• %INCLUDE SOURCLIB(TYPE30);
• %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=30 1415, BUILDPDB=NO,SORTOUT=NO,OUTFILE=INSTREAM);
• %INCLUDE INSTREAM;
BLDSMPDB
• 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
ANALID
• New MACRO to create
an SMF Audit dataset
and report
•
•
•
•
•
READSMF=NO
PRINT=YES
PDBOUT=PDB
PERCENTS=YES
ODS parameters
ANALID - Sample
ANALID - Sample
ANALID – Sample
ANALGRID
• Creates a dense
color coded grid
of values using
PROC REPORT
• Does not
require
SAS/GRAPH
• Works on all
SAS versions
9.1.3 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;);
VMXGPRNT
Print PDB.DB2ACCT
VMXGPRNT(SP_DSET=PDB.DB2ACCT,SP_NOBS=3);
VMXGFIND
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);
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);
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
ANALCAPD
•
•
•
•
•
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
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
MXG Software Support Updates
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Major enhancements/corrections added in MXG 30.06, dated Sep
TYPE120
TYPETAPR
TYPEZVPS
TYPE102
TYPENTSM
TYPENMON
VGETOBS
EXITCICS
ANALDB2R
TYPE102
TYPEDB2
TYPE30
TYPEMVCI
30.155
30.164
30.154
30.175
30.159
30.137
30.177
30.130
30.147
30.140
30.133
30.119
30.109
1, 2012:
Support WebSphere Asynchronous Section 120 Subtype 9.
Support for Tandem Prognosis data files.
Support XAM/ZVPS VCPU Virtual CPU segment XMUSVCPU
Support for IFCID=271 DB2 AUDIT PERMISSIONS trace.
Support MicroSoft Exchange 2010 incompat changes.
Updates to NMON/TOPAS Monitor for AIX and LINUX.
SAS 9.2 z/OS ONLY VGETOBS didn't recognize tape dset.
DB2 V10 compressed records "enhanced": NOW WORKS!
DB2 AUDIT reports updated for DB2PM Version 4.2
Support for IFCID 269,270 Audit, decodes uniques.
Support for (optional) DB2 Netezza Accelerator data.
Support for APAR OA39629 HICPUPCT/HICPUPGM TYPE30.
Support for Mainview CICS v64 CICS/TS 4.2 (COMPAT).
MXG Software Support Updates
TYPETMD2
ASMRMFV
TYPE119
TYPE1415
TYPERACF
TYPEDB2
TYPEZPRO
TYPEDB2
TYPE105
TYPESAMS
TYPE74
TYPECMA
TYPEFERT
TYPE115
TYPE117
30.107 Support for ASG/Landmark TMON DB2 PTFs TE03699/03718.
30.105 Support for RMF III ASIG3 segments '13'x and '14'x.
30.099 Support for CO:Z SMF 119 Subtypes 192 and 193.
30.103 Support for z/OS 1.13-added RAS segment (COMPATIBLE).
30.120 Support for RACF database Record 02G1.
30.113 Support for DB2 V10 restructured QIST statistics.
30.116 Support for Voltage SecureData for z/OS z/Protect.
30.089 Support for DB2 V10 APAR PM24723 adds data IFCID=225.
30.080 Support for GDPS SMF 105 now validated with SMF data.
30.073 Support for CA Vantage Stor Resc MGR 12.6.00 INCOMAT.
30.072 Support for RMF 74 APAR OA36831 (COMPAT) SMF74NSS.
30.070 Support for CA-Spool Subtype 12 (partial).
30.066 Support for new subtype 1 and 4 FERRET SMF records.
30.064 Support for MQ QJST 7.01B Statistics Block.
30.063 SMF 117 IMFL subtype SM17ACCT kept in WS 7.0.0.3 SMF.
MXG Software Support Updates
TYPE102
TYPE102
TYPE102
TYPE119
TYPE21
TYPE85
TYPEBBMQ
TYPEBVIR
TYPEEZSM
TYPEHSM
TYPESVIE
TYPETMD2
TYPETMMQ
TYPE119
TYPE21
30.037
30.038
30.055
30.009
30.014
30.050
30.047
30.057
30.041
30.006
30.051
30.060
30.025
30.009
30.014
Support
Support
Support
Support
Support
Support
Support
Support
Support
Support
Support
Support
Support
Support
Support
for
for
for
for
for
for
for
for
for
for
for
for
for
for
for
BMC APPTUNE V6R3 SMF 102 records INCOMPAT
DB2 IFCIDs 357 and 358.
DB2 APAR PM37956 to SMF 102 IFCID 25
SMF 119 ST 6 z/OS 1.13 (INCOMPAT).
APAR OA33947 for TS1140 Tape Drive
SMF 85 records from z/OS 1.13 (INCOMPAT,
BMC Mainview for MQ Version 5.1 (INCOMPAT
TS7700 Version 2.0a (INCOMPATIBLE)
EMC EzSM z/OS Storage Manager SMF record
HSM SMF z/OS 1.12 changes (COMPATIBLE)
SYSVIEW PTF Test APAR TSD0145, for IMS.
TMON/DB2 V5, INCOMPATIBLE, for DB2 V10.
TMON for MQ Version 2.2/2.3/2.4 INCOMPAT
SMF 119 ST 6 z/OS 1.13 (INCOMPAT).
APAR OA33947 for TS1140 Tape Drive
Download