Building an MXG PDB from NTSMF Data

Slides:



Advertisements
Similar presentations
An Exercise in Improving SAS Performance on Mainframe Processors
Advertisements

Modern Programming Languages, 2nd ed.
C6 Databases.
BurrellesLuce Production Tracker 3.8. Scheduled Reporting Extend current Reports functionality to run reports on schedule Provides CSV files similar to.
CS 104 Introduction to Computer Science and Graphics Problems
Introduction of z/OS Basics © 2006 IBM Corporation Chapter 5: Working with data sets.
Assignment #2, 12- month Calendar CS-2301, B-Term Programming Assignment #2 12-Month Calendar CS-2301, System Programming for Non-Majors (Slides.
Windows Server 2003 資料備份與還原 林寶森
Copyright © 2010 Lumina Decision Systems, Inc. Statistical Hypothesis Testing (8 th Session in “Gentle Introduction to Modeling Uncertainty”) Lonnie Chrisman,
To Compress or not to Compress? Chuck Hopf. What is your precious? Gollum says every data center has something that is precious or hard to come by –CPU.
Divide and Conquer: Dealing with 140GB of SMF Data Daily Chuck Hopf Merrill Consultants
Paul Jaffray Technical Services Manager Promedica Health System, Inc. Wednesday March 6th, 2002 Session 5823: Working with Windows NT Performance Data.
OracleAS Reports Services. Problem Statement To simplify the process of managing, creating and execution of Oracle Reports.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Programming for Geographical Information Analysis: Advanced Skills Lecture 1: Introduction Programming Arc Dr Andy Evans.
SQL, Data Storage Technologies, and Web-Data Integration Week 2.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 4: Working with data sets.
What is Sure Stats? Sure Stats is an add-on for SAP that provides Organizations with detailed Statistical Information about how their SAP system is being.
Time Management Personal and Project. Why is it important Time management is directly relevant to Project Management If we cannot manage our own time.
C++ Loose ends from last time. Variable initialization You can do the usual things int x; x = 10; int y = 20; And you can do an unusual thing int x(10);
COP Structures Instructor: Diego Rivera-Gutierrez I’m back baby!
1 Data Manipulation (with SQL) HRP223 – 2010 October 13, 2010 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
The great fast food survey 2012 Get ready to record your data!
Chapter 8 Physical Database Design. Outline Overview of Physical Database Design Inputs of Physical Database Design File Structures Query Optimization.
Mr C Johnston ICT Teacher
Efficient SAS programming with Large Data Aidan McDermott Computing Group, March 2007.
Chi Square Test for Goodness of Fit. p ,5,8.
Oracle eBusiness Financials R12 Oracle Receivables Functional Overview TCS Oracle Practice.
Chapter 14: Combining Data Vertically 1 STAT 541 ©Spring 2012 Imelda Go, John Grego, Jennifer Lasecki and the University of South Carolina.
What do I need to Know For My Assignment?. C Pointer Review To declare a pointer, we use the * operator. This is similar to but different from using *
5 Day Forecast Mon Tues Wed Thu Fri.
Andy Wang Object Oriented Programming in C++ COP 3330
Physical Database Design and Performance
JavaScript Arrays Date
Don't leave yourself short of medication this Christmas!!
GANTT CHARTS Example Example Example Example text Tasks Example 1
Mon – 2Tue – 3Wed – 4Thu - 5Fri - 6Sat - 7Sun - 8 Mon – 9Tue – 10Wed – 11Thu - 12Fri – 13Sat – 14Sun -15 Mon – 16Tue – 17Wed – 18Thu - 19Fri – 20Sat –
Automation in IMS Can it help the shrinking talent pool
DATABASE MANAGEMENT SYSTEM
SA3202, Solution for Tutorial 1
MON TUE WED THU
1   1.テキストの入れ替え テキストを自由に入れ替えることができます。 フチなし全面印刷がおすすめです。 印刷のポイント.
January MON TUE WED THU FRI SAT SUN
January MON TUE WED THU FRI SAT SUN
January Sun Mon Tue Wed Thu Fri Sat
January MON TUE WED THU FRI SAT SUN
January MON TUE WED THU FRI SAT SUN
2008 Calendar.
January MON TUE WED THU FRI SAT SUN
Hourly Pay Section 1.1.
Sun Mon Tue Wed Thu Fri Sat
Hundred Dollar Questions
By HERBER.
January MON TUE WED THU FRI SAT SUN
JANUARY 1 Sun Mon Tue Wed Thu Fri Sat
By HERBER.
January MON TUE WED THU FRI SAT SUN
JANUARY 1 Sun Mon Tue Wed Thu Fri Sat
Sun Mon Tue Wed Thu Fri Sat
1/○~1/○ weekly schedule MON TUE WED THU FRI SAT SUN MEMO
January MON TUE WED THU FRI SAT SUN
S M T W F S M T W F
2016 | 10 OCT SUN MON TUE WED THU FRI SAT
Sun Mon Tue Wed Thu Fri Sat
JANUARY 1 Sun Mon Tue Wed Thu Fri Sat
WEB PAGES: Tables Welcome Back !.
1 January 2018 Sun Mon Tue Wed Thu Fri Sat
My Life As A Procrastinator
Java Coding 6 David Davenport Computer Eng. Dept.,
2008 Calendar.
Presentation transcript:

Building an MXG PDB from NTSMF Data Chuck Hopf chuck@chopf.com www.chopf.com/geekland.shtml

Building an MXG PDB from NTSMF Data ‘Classic’ MXG PDB Structure Why it doesn’t work What needed to change How it is implemented for NTSMF Using BLDNTPDB

Classic MXG PDB Structure Read ALL the data and place it in a PDB with possibly CICSTRAN on the side Run daily - daily contains detail of ALL data read WEEKBLD consolidates dailies into weeklies MONTHBLD consolidates weeklies into monthlies

Classic MXG PDB Structure DASD storage required: 8 daily PDB 5 weekly PDB enough WORK space for the largest dataset (STEPS or TYPE74)

Why It Doesn’t Work 40 GB of SMF data daily Needs 160GB of WORK space (SORTWK and WORK) 320GB of space for daily datasets 1+ Terror Bytes for weekly datasets Time - Daily jobs that run for more than a day are not practical

What Needed to Change Multiple Parallel Threads Run week-to-date Run month-to-date Eliminate weekly/monthly jobs Exploit summarization macros where needed to reduce volume

How Is It Implemented for NTSMF? BLDNTPDB - a very large and complex collection of SAS MACROs that allows the user to choose how the PDB should be structured. Can use the classic MXG structure or... Can use virtually any structure the user chooses

Using BLDNTPDB Parameters and Meanings Examples of use Future Directions ?????????????????????

Using BLDNTPDB - Parameters and Meanings NTSMF=C:\MXG\NTSMF\NTSMF.SMF - where is your RAW NTSMF data? WEEKSTRT=MON - on what day of the week does your week start? The normal MXG default is Monday. This controls when weekly processing takes place. RUNNTINT=YES - should we run the NTINTRV summarization?

Parameters and Meanings ASUMDUR=HOUR - what level of summarization should we apply? Valid values are QTRHOUR, HALFHOUR, HOUR, SHIFT, DATE, WEEK, MONTH KEEPERS=null - A list of datasets to be ‘kept’ (usually not used) DROPPERS=null - A list of datasets to be ‘dropped’ (built but not kept in the output PDB.)

Parameters and Meanings ZEROOBS=null - Similar to DROPPERS but datasets are created with 0 observations MAXDRVS=26 - Maximum number of logical drives/physical drive (limits and array size.) RERUN=null - If YES is specified forces the rewriting of an old PDB USE WITH CAUTION

Parameters and Meanings MON=C:\MXG\MON TUE=C:\MXG\TUE WED=C:\MXG\WED THU=C:\MXG\THU FRI=C:\MXG\FRI SAT=C:\MXG\SAT SUN=C:\MXG\SUN Dataset placement for DAILY PDBs. If a null string is used, the dataset WILL NOT BE BUILT.

Parameters and Meanings WEEK=C:\MXG\WEEK WEEK2=C:\MXG\WEEK2 WEEK3=C:\MXG\WEEK3 WEEK4=C:\MXG\WEEK4 WEEK5=C:\MXG\WEEK5 Placement for weekly datasets. If a null string is used, the dataset WILL NOT BE BUILT.

Parameters and Meanings TREND=C:\MXG\TREND MONTH=C:\MXG\MONTH MONTH1=null Placement for monthly and TREND datasets. A null string results in the dataset NOT BEING BUILT.

Parameters and Meanings RUNDAY=YES - Run the BUILD process daily and build the specified daily databases RUNWEEK=NO - YES means run the weekly BUILD process if it is the day specified by WEEKDATE and WTD means build WTD datasets daily RUNMONTH=NO - YES means run the monthly BUILD process on the 2nd day of the month and MTD means build MTD datasets daily RUNTREND=WEEKLY - Build the TREND datasets when the WEEKLY BUILD is run. If DAILY is specified, build the TREND datasets when the DAILY datasets are built.

Parameters and Meanings RPTRAW=NO - Build a table of the distribution of the RAW NTSMF record types RPTDAY=PDB - Create reports for the most recent PDB at the hourly RPTWEEK=NO - Create reports for the WEEKLY PDB if it has just been RPTMONTH=NO - Create reports for the MONTHLY database if it has just been created RPTTREND=NO - Create reports for the TREND database if it has just been updated

Parameters and Meanings GRAFDAY=PDB - Create reports for the most recent PDB at the hourly GRAFWEEK=NO - Create reports for the WEEKLY PDB if it has just been GRAFMNTH=NO - Create reports for the MONTHLY database if it has just been created GRAFTRND=NO - Create reports for the TREND database if it has just been updated

Parameters and Meanings Any combination of RUNxxxx, RPTxxxx, and GRAFxxxx specifications may be used. You can do DAILY, WEEKLY, and MONTHLY runs in a single execution as well as creating reports and graphs at each level.

Parameters and Meanings Null strings passed as some parameters means ‘dont do this!’

Examples of Use Classic MXG Structure PDB for each day of week, 5 weeks, monthly with week run on Monday %BLDNTPDB(RUNDAY=YES, RUNWEEK=YES, RUNMNTH=YES, RUNTRND=WEEKLY);

Examples of Use Single daily PDB no WEEKLY/MONTHLY/TREND %BLDNTPDB(RUNDAY=YES,MON=, TUE=, WED=, THU=, FRI=, SAT=, SUN=);

Examples of Use Single daily PDB with week-to-date, month-to-date, and trending done daily %BLDNTPDB(RUNDAY=YES, RUNWEEK=WTD,RUNMNTH=MTD, RUNTRND=DAILY,MON=,TUE=,WED=, THU=, FRI=, SAT=, SUN=);

A Few Words About MXG 16.04 and Later Each dataset now has an up to 6 character mnemonic identifier. In the case of NTSMF data it starts with NT and then has 4 unique characters. This is used to identify what datasets to KEEP DROP or set to ZEROOBS. YOU MUST REVIEW THE 16.04 CHANGES and DOCUMENTATION!

Examples of Use Build and keep only the datasets needed for NTINTRV %BLDNTPDB(KEEPERS=NTBROW NTCACH NTFTP NTMEM NTNBTC NTNBUI NTNETS NTNWLI NTNWLN NTNWLS NTOBJ NTPAGE NTPDSK NTPROC NTPROR NTRDIR NTSERV NTSYST NTTCP);

Examples of Use Build only the datasets needed for NTINTRV and DROP after NTINTRV is created: %BLDNTPDB(DROPPERS=NTBROW NTCACH NTFTP NTMEM NTNBTC NTNBUI NTNETS NTNWLI NTNWLN NTNWLS NTOBJ NTPAGE NTPDSK NTPROC NTPROR NTRDIR NTSERV NTSYST NTTCP);

Examples of Use Build the datasets needed for NTINTRV but build the PROCESS dataset with zero observations: %BLDNTPDB(KEEPERS=NTBROW NTCACH NTFTP NTMEM NTNBTC NTNBUI NTNETS NTNWLI NTNWLN NTNWLS NTOBJ NTPAGE NTPDSK NTPROR NTRDIR NTSERV NTSYST NTTCP, ZEROOBS=NTPROC);

Examples of Use Reporting can be added to any execution: %BLDNTPDB(xxxxxxxxxxxxxxx, RPTDAY=YES);

Examples of Use Reporting can be done against any PDB: %BLDNTPDB(xxxxxxxxxxxxxxx, RPTDAY=MON);

Examples of Use GRAPHS can be created for daily, weekly and trend datasets (CPU usage only at this time - more to come.) %BLDNTPDB(xxxxxxxxxxxxx, GRAFDAY=YES, GRAFWEEK=YES);

Examples of Use - A Case Study Suppose you want the following: Run the PDB DAILY keeping all datasets Maximum of 5 logical drives/physical drive Start the week on Sunday Keep a WTD/MTD/and TREND datasets Run reports of Daily usage Create Graphs of Daily usage

Examples of Use - A Case Study %BLDNTPDB(MON=, TUE=,WED=,THU=,FRI=, SAT=,SUN=,WEEK2=,WEEK3=, WEEK4=,WEEK5=, RUNDAY=YES,WEEKSTRT=SUN, RUNWEEK=WTD,RUNMNTH=MTD, RUNTRND=DAILY,MAXDRVS=5, RPTDAY=PDB,GRAFDAY=PDB);

Future Directions Largely up to YOU! My knowledge of the data is limited My experience with the data is limited I need to know what YOU want/need

Future Directions What reports are needed Data sources Data elements Levels of summarization

Future Directions What graphs are needed What data sources What kinds of graphs What levels of summarization

Future Directions Currently on the development list: Selection of datasets to place in the WEEKLY/MONTHLY databases - a WEEKKEEP= operand or something along those lines More automated summarization (this is a tough one because it supposes knowledge of the datasets and variables that is difficult to have programmatically.)

Future Directions Currently on the Development List Ability to limit variables in WTD/MTD datasets using DROP= Ability to output reports as HTML

???????????