Upload
austin-shelton
View
216
Download
1
Tags:
Embed Size (px)
Citation preview
Advanced Technical Support
© 2007 IBM Corporation
System z Problem Determination Tools
Overview
Madrid,Madrid, February 26, 2007February 26, 2007
Eric ChabertPD Tools SW [email protected]
Advanced Technical Support
© 2007 IBM Corporation2 zSeries Problem Determination Tools
Agenda
Overview of the Application Development Tools
Overview of the Problem Determination Tools- File Manager- Fault Analyzer - Debug Tool Utilities & Advanced Functions- Application Performance Analyzer- Others Tools: Overview
Summary
Advanced Technical Support
© 2007 IBM Corporation3 zSeries Problem Determination Tools
Agenda
Overview of the Application Development Tools
Overview of the Problem Determination Tools- File Manager- Fault Analyzer - Debug Tool Utilities & Advanced Functions- Application Performance Analyzer- Other Tools: Overview
Summary
Advanced Technical Support
© 2007 IBM Corporation4 zSeries Problem Determination Tools
System z Application LifecycleA
ssemb
le
Develop
Common Processes and Software Configuration Management
Model and simulate business
processes
WebSphere Business Modeler
Model applications and data
Rational Software
Architect
Understand, Identify and
prepare existing assets for reuse
WSAA / ATW / CICS IA
N-Tier Model based Application
and process generation
WebSphere Integration Developer
N-Tier Visual construction
WebSphere Developer
for zSeries / HATS
Data Creation, update
File Manager
File Export
Application Test, Debug, and Deploy
Fault Analyzer
Debug Tool Utilities and Advanced
Functions
Functional and Load Testing
RPT/RFT
Workload Simulator
Application performance,
management and problem determination
ITCAMOmegamon
Application Performance Analyzer
Monitor and manage
Business processes
TivoliWS Business
MonitorDevelop
Model Applications
Discover / Understand
Model Business
Manage Data
AssembleDebug / Deploy
Test
Monitor Applications
Monitor Business
Problem Determination Tools
Advanced Technical Support
© 2007 IBM Corporation5 zSeries Problem Determination Tools
Application Reuse / Data Migration Operational Efficiency
Application / Performance Management
CICS Business Event Publisher for MQ
CICS VSAM Transparency
Application Performance Analyzer
CICS Performance Analyzer
CICS OTTO
IBM Session Manager
CICS Batch Application Control
Core COBOL, Pl1, Assembler, C++, DB2, IMS, CICS, MQ, WASz Applications
Test, Deploy, Manage Data Environment
CICS
Testing
SCLM Advanced Edition
Rational ClearCase
Rational ClearQuest
CICS Interdependency Analyzer
CICS Configuration Analyzer
CICS Performance Analyzer
Fault Analyzer
File Manager
Debug Tool Utilities & AFFile Export
WDDz
ISPF Productivity Tool
Application Time Facility
Resource Recovery Software Configuration ManagementCOBOL Modernization
CICS VSAM Recovery
CICS VSAM Copy
Workload Simulator
Rational Performance Tester z/OS
Rational Functional Tester Terminal Based Apps
Debug Tool Utilities & AFMigration Utility
IBM Rational COBOL Generation Extension for zSeries
IBM Rational COBOL Runtime for zSeries
System z Application Development Tools
Advanced Technical Support
© 2007 IBM Corporation8 zSeries Problem Determination Tools
Agenda
Overview of the Application Development Tools
Overview of the Problem Determination Tools- File Manager
– MVS– DB2– IMS– CICS– Summary
- Fault Analyzer - Debug Tool Utilities & Advanced Functions- Application Performance Analyzer- Other Tools: Overview
Summary
Advanced Technical Support
© 2007 IBM Corporation9 zSeries Problem Determination Tools
File Manager Manage a variety of enterprise data file structures
File Manager Features:– Work with data in files (VSAM, HFS and
zFS), DB2 tables (V9), IMS databases (V10), CICS (TDQ, TSQ and VSAM)
– ISPF-like panels or Batch interface
– Full function Browse and Edit
– Multiple Modes of Edit and Browse• Table• Single
– Flexible Selection Criteria
– Copy
– File Reformatting
– Global Search and Updated capability
– Compare
– No limit to file size !Do
What you want,How you want,With your data
Object and Data Management
ISPF
FileManager
Base
DB2 IMS
FileManager
IMS
FileManager
DB2
PDS
Tape
QSAM
FileManager
CICS
TDQTSQ
HFSzFS
VSAM
Create, Edit, Browse,Extract,Copy, Print,
Compare
Native Data
Manipulation
Application MappedData
Manipulation
Advanced Technical Support
© 2007 IBM Corporation11 zSeries Problem Determination Tools
File Manager MVSFile Manager MVS
Advanced Technical Support
© 2007 IBM Corporation12 zSeries Problem Determination Tools
File Manager MVS: Primary Option Menu
Advanced Technical Support
© 2007 IBM Corporation13 zSeries Problem Determination Tools
Edit
For the members list For the members list
For native data manipulation For native data manipulation
Advanced Technical Support
© 2007 IBM Corporation14 zSeries Problem Determination Tools
Edit: Native Data Manipulation
Two record typesTwo record types
Advanced Technical Support
© 2007 IBM Corporation15 zSeries Problem Determination Tools
Edit: Copybook Selection
To use a Copybook To use a Copybook and to Edit it and to Edit it
Advanced Technical Support
© 2007 IBM Corporation16 zSeries Problem Determination Tools
Edit: From Copybook to Template
Record Identification
Record Identification Record Selection
Record Selection
Field Customization Field Customization
Advanced Technical Support
© 2007 IBM Corporation17 zSeries Problem Determination Tools
Edit: Using a Template (Format: Table)
From record type 1 to record type 2From record type 1 to record type 2
Advanced Technical Support
© 2007 IBM Corporation18 zSeries Problem Determination Tools
Edit: Using a Template (Format: Single)
Advanced Technical Support
© 2007 IBM Corporation19 zSeries Problem Determination Tools
Utilities
Compare with Copybook
Advanced Technical Support
© 2007 IBM Corporation20 zSeries Problem Determination Tools
HFS & zFS
Advanced Technical Support
© 2007 IBM Corporation21 zSeries Problem Determination Tools
File Manager MVS Summary
ISPF-like panels
Full function edit and browse
– Table
– Single
Flexible selection criteria
– Work with copybooks or templates
Modes Of Operation
– Interactive
• TSO ISPF• CICS
– Batch
Edit any file regardless of size
Create data
Print data
Copy data– File reformatting
Catalog services
Work with VTOC
Search for and Change data– Insert continuation JCL statement
Compare data
View or Print Copybooks or Templates
XML generation
– Data Set Copy has an “Output mode” option XML.
– A data file and a template• FM will generate tagged XML
text for all input data types• Option to generate Unicode.
Advanced Technical Support
© 2007 IBM Corporation22 zSeries Problem Determination Tools
File Manager DB2File Manager DB2
Advanced Technical Support
© 2007 IBM Corporation23 zSeries Problem Determination Tools
File Manager DB2: Primary Option Menu
Advanced Technical Support
© 2007 IBM Corporation24 zSeries Problem Determination Tools
Edit: Using a Template (Format: Single)
Advanced Technical Support
© 2007 IBM Corporation25 zSeries Problem Determination Tools
Referential Integrity
e
Advanced Technical Support
© 2007 IBM Corporation26 zSeries Problem Determination Tools
Utilities
Advanced Technical Support
© 2007 IBM Corporation27 zSeries Problem Determination Tools
«Basic» SQL
Advanced Technical Support
© 2007 IBM Corporation28 zSeries Problem Determination Tools
File Manager DB2 Summary
Edit and Browse data– Edit a DB2 Table or View– Select rows and columns displayed
Print– Table or Single format– Select rows and columns
Create and Drop DB2 objects
Copy data – Select rows – “Map” columns from an input table
to an output table– Reformat and generate data while
copying
Work with a list of DB2 objects– Use line commands to initiate
functions
Grant and Revoke DB2 privileges
Import and Export data– Select Rows– Export to a file in default FM/DB2 format, a
format defined by a copybook, or a comma-delimited file
– Import from a file generated by the Export function, or a file described by a copybook
Generate JCL for DB2 utilities– COPY, LOAD, REBUILD, RECOVER,
REORG, and RUNSTATS
Create and Execute SQL statements
Advanced Technical Support
© 2007 IBM Corporation29 zSeries Problem Determination Tools
File Manager IMSFile Manager IMS
Advanced Technical Support
© 2007 IBM Corporation30 zSeries Problem Determination Tools
File Manager IMS: Primary Option Menu
Advanced Technical Support
© 2007 IBM Corporation31 zSeries Problem Determination Tools
Browse: Using a View
Advanced Technical Support
© 2007 IBM Corporation32 zSeries Problem Determination Tools
Browse: Database and View Specifications
Advanced Technical Support
© 2007 IBM Corporation33 zSeries Problem Determination Tools
Primary Commands (examples)
To position on the begin retrieval of segments for the data display panels
To position on the begin retrieval of segments for the data display panels
To display a graphical representation of the structure of the database
To display a graphical representation of the structure of the database
Advanced Technical Support
© 2007 IBM Corporation34 zSeries Problem Determination Tools
Utilities
Advanced Technical Support
© 2007 IBM Corporation35 zSeries Problem Determination Tools
File Manager IMS Summary
Online utilities for IMS databases
– Edit and Browse data
– Extract segments from a database
– Load segments into a database
Support for processing databases using either:
– Physical DBD
– Logical DBD
Access databases using either:
– Static PSBs
– Dynamic PSBs
Process databases in alternate sequences using secondary indexes
Support for HDAM, HIDAM, HISAM, HSAM, DEDB. MSDB
Audit trail to record database updates
COBOL or PL/I segment layouts to format data into fields
– Edit and Browse segments in tabular or character format
– Access source in PDS, PDSE, or Panvalet libraries
Work with segments that have multiple layouts
Use flexible criteria to select segments for browse, edit and extract processing
Change segment selection criteria and formatting “on the fly”, while browsing or editing
Advanced Technical Support
© 2007 IBM Corporation36 zSeries Problem Determination Tools
File Manager CICSFile Manager CICS
Advanced Technical Support
© 2007 IBM Corporation37 zSeries Problem Determination Tools
File Manager CICS: Primary Option Menu
CICS Transaction codeCICS Transaction code
For File Manager MVSFile Manager IMS
For File Manager MVSFile Manager IMS
Advanced Technical Support
© 2007 IBM Corporation38 zSeries Problem Determination Tools
Browse: TD Queue (Remote access)
Remote System IdentificationRemote System Identification
Enter
Advanced Technical Support
© 2007 IBM Corporation39 zSeries Problem Determination Tools
EDIT: TS Queue (Native Data Manipulation)
For TSQ List For TSQ List
To Edit the TSQ To Edit the TSQ
Advanced Technical Support
© 2007 IBM Corporation40 zSeries Problem Determination Tools
FM CICS to FM MVS to Copy a TSQ
Short-cut to COPYShort-cut to COPY
Enter
Advanced Technical Support
© 2007 IBM Corporation41 zSeries Problem Determination Tools
FM CICS to FM MVS to Copy a TSQ
Enter
Enter
Advanced Technical Support
© 2007 IBM Corporation42 zSeries Problem Determination Tools
Back to FM CICS
Enter
Advanced Technical Support
© 2007 IBM Corporation43 zSeries Problem Determination Tools
File Manager CICS Summary
An File Manager CICS specific ISPF-like interface provides:
– Full screen edit / browse support– Print support– Copybook / template support – List and alter support
Support for local and remote CICS resources
– Users process resources while they remain online, taking advantage of CICS resource sharing
Support for– VSAM files (KSDS, ESDS, RRDS,
VRRDS, and CICS data tables)– Transient Data queues
(intrapartition and extrapartition)– Temporary Storage queues
(auxiliary, main, and temporary storage pool)
Invoke File Manager MVS through a CICS terminal– Allows File Manager MVS to run without
ISPF support– Full support for non-CICS resources– Process CICS resources (TD, TS and Files)
through existing File Manager MVS utilities (local CICS resources only)• Copy• Compare• Create• etc.
Invoke File Manager IMS through a CICS terminal– Allows File Manager IMS to run without ISPF
support– Requires File Manager IMS to be installed– Similar to running File Manager IMS through
ISPF (does not use CICS services for IMS)
Advanced Technical Support
© 2007 IBM Corporation44 zSeries Problem Determination Tools
Agenda
Overview of the Application Development Tools
Overview of the Problem Determination Tools- File Manager
- Fault Analyzer – ISPF– CICS– Web– Summary
- Debug Tool Utilities & Advanced Functions- Application Performance Analyzer- Other Tools: Overview
Summary
Advanced Technical Support
© 2007 IBM Corporation45 zSeries Problem Determination Tools
Fault AnalyzerHelps you rapidly pinpoint why and where an applicationabended and offers suggestions on how to resolve
Single Fault Analysis Product For All Environments
– Analysis At Application Level
– Information Gathered At Time Of Abend
– Translates Low-level "Dump" Information Into Application-level Information
– Expands Abend Code And Message Descriptions
– No Recompile Of Applications
– No JCL Changes
– No Performance Overhead
– ISPF Fault History Log Facility
Consistent Across Languages – COBOL, C, C++, PL/I, Assembler, LE
Environments Supported– CICS, TSO, JES/Batch, IMS, DB2, Unix
System Services, MQSeries
BATCHBATCH CICSCICSIMSIMS DB2DB2
Application LanguageCOBOL, PL/I, ASSEMBLER, C++, MQSeries
WAS/zWAS/z
OnlineHistorical
Repository
Abend
Diagnosis
Analysis Reports
ISPF
FaultAnalyzer
Failure/Abend
Provide data to to help determine
WHY, WHERE, HOW,the failure occurred
WAS/z and JAVA
Single fault analysis product for all environments
USS
Improve
Advanced Technical Support
© 2007 IBM Corporation46 zSeries Problem Determination Tools
Operation: Real-Time Analysis
Fault History File
Compiler Listings
Real-Time AnalysisReport
z/OS
FaultAnalyzer
Application
FaultEntry
Options FA Invocation Exit
Abend
Side Files (SYSDEBUG IDILANGX)
When an application ABENDs, an exit (supplied) invokes FA,which generates an analysis report.
Improve
Advanced Technical Support
© 2007 IBM Corporation47 zSeries Problem Determination Tools
Operation: Interactive Re-analysis
Fault History File
Fault
Analyzer
Online Interface
Fault
Entry
Compiler Listings
Side Files (SYSDEBUG - IDILANGX)
OptionsISPF / CICS
CompilerProgram Source
Optional
For any ABEND
Improve
Navigate on-screen through a formatted, structured view of the problem.View working storage and control blocks as they were at the time of the fault.
Advanced Technical Support
© 2007 IBM Corporation48 zSeries Problem Determination Tools
Operation: Batch Re-analysis
ISPF
AnalysisReport
(SYSOUT)
FaultEntry
Compiler Listings
Side Files (SYSDEBUG - IDILANGX)
CompilerProgram Source
Optional
Fault Analyzer Batch Reanalysis Job
Improve
Analysis report based on the information gathered in real-time, with potentially different options, and with a compiler listing or side file.
Fault History File
Advanced Technical Support
© 2007 IBM Corporation49 zSeries Problem Determination Tools
Fault Analyzer: Primary Menu (ISPF & CICS)
Advanced Technical Support
© 2007 IBM Corporation50 zSeries Problem Determination Tools
Fault Analyzer: Customization
Advanced Technical Support
© 2007 IBM Corporation51 zSeries Problem Determination Tools
Fault Analyzer: Columns Configuration
Advanced Technical Support
© 2007 IBM Corporation52 zSeries Problem Determination Tools
Fault Analyzer: Filtering
Columns configurationColumns configuration
Advanced Technical Support
© 2007 IBM Corporation53 zSeries Problem Determination Tools
Interactive Reanalysis
Filtering ColumnFiltering Column
Advanced Technical Support
© 2007 IBM Corporation54 zSeries Problem Determination Tools
Interactive Reanalysis: Primary Menu
A brown field has an hypertext link.
A brown field has an hypertext link.
Offset or line number if source code available.
Offset or line number if source code available.
Advanced Technical Support
© 2007 IBM Corporation55 zSeries Problem Determination Tools
Integrated Messages and Codes
Advanced Technical Support
© 2007 IBM Corporation56 zSeries Problem Determination Tools
Abend Analysis: Synopsis
Source code accessSource code access
Advanced Technical Support
© 2007 IBM Corporation57 zSeries Problem Determination Tools
Source Code
Advanced Technical Support
© 2007 IBM Corporation58 zSeries Problem Determination Tools
List of Events associated with the Abend
Advanced Technical Support
© 2007 IBM Corporation59 zSeries Problem Determination Tools
Calling Program: Source Code
Advanced Technical Support
© 2007 IBM Corporation60 zSeries Problem Determination Tools
Access to the Open Files
Advanced Technical Support
© 2007 IBM Corporation61 zSeries Problem Determination Tools
Open Files
Hypertext link to the file records.
Hypertext link to the file records.
Cause of the Abend
Cause of the Abend
Hypertext link to File Manager for file manipulation.
Hypertext link to File Manager for file manipulation.
Advanced Technical Support
© 2007 IBM Corporation62 zSeries Problem Determination Tools
From Fault Analyzer to File Manager
TemplateEdit
TemplateEdit
Advanced Technical Support
© 2007 IBM Corporation63 zSeries Problem Determination Tools
Fault Analyzer: CICS Interface
Advanced Technical Support
© 2007 IBM Corporation64 zSeries Problem Determination Tools
Fault Analyzer: CICS Information Synopsis
– Source code that preceded the failure
– Source code for data fields
– Data field values
Event Summary– Event Details
• Source code that preceded the failure
• Source code for data fields
• Data field values
• RPL
• Registers
• EXEC Interface Block
• Messages
• Storage Areas– Working Storage– Linkage Section– Commarea
CICS Information
– CICS Control Blocks
– CICS Transaction Storage
– Last CICS 3270 Screen Buffer
– Last CICS 3270 Screen Buffer Hex
– Summarized CICS Trace
– CICS Trace Formatting
– CICS Recovery Manager
Storage Area
Message
Abend Job Information– DFHRPL Concatenation– JOBLIB / STEPLIB Concatenation
Options In Effect
Advanced Technical Support
© 2007 IBM Corporation65 zSeries Problem Determination Tools
Fault Analyzer: CICS Information
PF8: CSA, CWA, TCA, TACB, EIS, TCTTE, …PF8: CSA, CWA, TCA, TACB, EIS, TCTTE, …
Advanced Technical Support
© 2007 IBM Corporation66 zSeries Problem Determination Tools
Fault Analyzer: DB2 Information Synopsis
Event Summary– Event Details
• SQL Communications Area• SQLCODE Explanation• SQLSTATE Explanation
DB2 Information
– Subsystem ID
– Version
– Plan or Package name and Bind Time-Stamp
– Database Request Module
– Last Executed SQL Statement
– Host Variables
– SQL Communications Area
– SQLCODE and SQLSTATE Explanation
Abend Job Information
Options in Effect
Advanced Technical Support
© 2007 IBM Corporation67 zSeries Problem Determination Tools
Fault Analyzer: DB2 Information
Advanced Technical Support
© 2007 IBM Corporation68 zSeries Problem Determination Tools
Fault Analyzer: Web Browser Interface
Advanced Technical Support
© 2007 IBM Corporation69 zSeries Problem Determination Tools
Fault Analyzer Summary Improve
Analysis at application level
Information gathered at time of abend
Translates low-level dump information into application-level information
Expands abend code and message descriptions
No recompile of applications
No JCL changes
No performance overhead
Integrated 64-bit DB2 support
Modes Of Operation
– Real-time analysis
– Batch dump re-analysis
– Interactive dump re-analysis
Interfaces
– ISPF
– Web browser
– CICS
Interface to File Manager
Advanced Technical Support
© 2007 IBM Corporation70 zSeries Problem Determination Tools
Agenda
Overview of the Application Development Tools
Overview of the Problem Determination Tools- File Manager- Fault Analyzer - Debug Tool Utilities & Advanced Functions
– How do I interface with Debug Tool?– Load Module Analyzer– COBOL Modernization– Code Coverage– Summary
- Application Performance Analyzer- Other Tools: Overview
Summary of Tools
Advanced Technical Support
© 2007 IBM Corporation71 zSeries Problem Determination Tools
Debug Tool U&AF Debugging of enterprise applications to isolate coding issue
Debugapplication
insupported
environments
3270
Debug ToolUAF
BATCH CICSIMS DB2TSO USSWeb
Sphere
Application LanguagesCOBOL, PL/I, ASSEMBLER, C/C++
GUI
Common User Interface Across Systems And Subsystems
Consistent Across Languages
– COBOL (all versions), C/C++, PL/I, assembler
Environments Supported
– CICS, TSO, JES/Batch, IMS Including IMS/TM, DB2 Including Stored Procedures, Unix System Services (USS), MQSeries
Order Debug Tool Utilities and Advanced Functions
Advanced Technical Support
© 2007 IBM Corporation72 zSeries Problem Determination Tools
How do I interface with Debug Tool?
Full-screen mode– 3270 interface
– Work with Debug Tool from a VTAM
– Common interface for all z/OS runtimes, CICS, JES, IMS TM, DB2 Stored Procedures, etc.
– Debug Tool uses a terminal that you specify… your CICS or TSO terminal can be used
Batch, CICS, DB2,
or IMS application
Application
ApplicationDebug ToolDebug Tool
Advanced Technical Support
© 2007 IBM Corporation73 zSeries Problem Determination Tools
How do I interface with Debug Tool?
Websphere Developer Debugger for zSystems (WDDz):– The host application starts Debug Tool, which connects to a
remote debugger on your workstation– Point and Click ease of use– Uses the GUI debug interface built into products such as:
• Eclipsed based Websphere Developer for zSystems (WDz)
Batch, CICS, DB2,
or IMS application
Application
ApplicationDebug ToolDebug Tool
Advanced Technical Support
© 2007 IBM Corporation74 zSeries Problem Determination Tools
How do I interface with Debug Tool?
Debug Tool “Batch” Command File mode– Invoke the application in the background under the control of Debug Tool commands – Can drive the program to exception conditions and log runtime results for later
diagnosis– For creation of:
• Regression Test cases• Production Runtime problem diagnosis
Application
ApplicationDebug ToolDebug Tool
Batch, CICS, DB2, or IMS application
Command File
AT TERMINATION;
SET FREQUENCY ON;
GO:
LIST FREQUENCY *;
QUIT;
Advanced Technical Support
© 2007 IBM Corporation75 zSeries Problem Determination Tools
Code Coverage Utility Features
Does not require any updates to the test case runtimes
Supports any number of testers running multiple executions
Accumulates coverage statics across multiple runs
Reports statement coverage
Reports statement frequency
Reports branch execution
Generates XML report to process data using other programs.
Advanced Technical Support
© 2007 IBM Corporation76 zSeries Problem Determination Tools
Load Module Analyzer Utility Features
For all CSECTs that make up a load module reports:
Compiler versions
Compile dates
Can be executed interactively from ISPF panels
Can be submitted to run in batch
Report display options are configurable:
Filter compiler versions reported
Filter CSECTs that are part of the LE runtime
Filter CSECTs that are part of the compiler
Advanced Technical Support
© 2007 IBM Corporation77 zSeries Problem Determination Tools
COBOL Modernization Utility FeaturesReports identification of source requiring conversion for COBOL
68 and 74 to COBOL 85
Converts standard 68 and 74 to standard 85 Reviews, reports, and converts COBOL source (including copybooks)
Identifies COBOL language elements and CICS commands in the input source programs that are: Not supported by the target language Supported in a different manner
Converts any COBOL compiler to current version fixing new KEYWORDS, etc
Converted Source Converted COBOL program source Converted COBOL copy files
Advanced Technical Support
© 2007 IBM Corporation78 zSeries Problem Determination Tools
Debug Tool U&AF Summary
Debug Tool Features:
– Source-level Debug Tool– Language Sensitive – Multiple Breakpoints– Programmable Command Entry– Utilizes LE Services:
• Breakpoints at LE conditions• Recovery of Program ABENDS
– Step Mode Debugging– Command logging Of Debug Session– Frequency Sampler
Debug Tool U&AF Features:– Automonitor support for COBOL, PL/I,
and assembler programs– Interactive “Playback” support– Object level “disassembly” interactive
debug support– An interface to the Fault Analyzer tool– Code coverage tool– Load Module Analyzer (for identifying
compilers for addressing Migration)– Cobol Conversion Facility to automate
migration to Enterprise Cobol– Automated preparation for Compile and
link– Commands to query, allocate, and free
files
Advanced Technical Support
© 2007 IBM Corporation79 zSeries Problem Determination Tools
Agenda
Overview of the Application Development Tools
Overview of the Problem Determination Tools- File Manager- Fault Analyzer - Debug Tool Utilities & Advanced Functions
- Application Performance Analyzer– Observation Session– Reports
- Other Tools: Overview
Summary
Advanced Technical Support
© 2007 IBM Corporation80 zSeries Problem Determination Tools
Application Performance AnalyzerApplication performance analysis tooling for application and system programmers
BATCHBATCH CICSCICSIMSIMS DB2DB2 MQ MQ SeriesSeries
APA Observation
Files
Print reports from z/OS
ISPF
ApplicationPerformance
Analyzer
TSO UserTSO User
View reports online with ISPF
View reports in PDF format on PC
Observation session
Features: Summary / Profile Reports with drill down into
detailed levels via ISPF or PDF
CPU, Load Module, and CSECT Analysis of all modules in the address space
Source Statement (COBOL or PL1) or Instruction utilization in each CSECT
Supports Fault Analyzer / Debug Tool Sidefiles
Wait Time Analysis by Category, Task/Module, or Attribution
DASD I/O Analysis by Device, DD Name, Dataset and Dataset Attributes, EXCP’s, VSAM with Buffer Pool, I/O Wait
DB2 SQL Analysis – Static and Dynamic – Service Times – Dynamic Explain
DB2 Analysis by DBRM, Statement, and Plan
CICS Session Statistics, Transaction Analysis by CPU Usage, Mean and Total Service Time, and Waits by Transaction
IMS CPU and Service Time Analysis
MQ Series Analysis by Queue, Request, and Transaction
Support for DB2 Stored Procedures written in Java
JAVA Support
Advanced Technical Support
© 2007 IBM Corporation81 zSeries Problem Determination Tools
Observation Sessions
Real Time: To identify a running job or online region to be monitored
Scheduled: To schedule observation session(s) for applications that will run in
the future
Threshold: To define thresholds for jobs in terms of CPU usage, EXCP count
or job duration
Interfaces: ISPF Batch
Advanced Technical Support
© 2007 IBM Corporation82 zSeries Problem Determination Tools
CPU Usage by CategoryUsage by Procedure Usage by Module Referred AttributionUsage by Code SliceUsage TimelineUsage Task/Category Usage Task/Module Usage by PSW/ObjCode
Wait Time by Task/Category Time by Task/Module Time Referred Attribution
DASDUsage by Device Activity TimelineUsage by DDNAME I/O Wait Time Usage by Dataset VSAM Buffer Pool Usage Dataset Attributes SummaryDASD VSAM Statistics
Coupling FacilitySummary Mean Times Facility Total Times
Storage & Statistics Measurement Profile
Load Module AttributesLoad Module SummaryTCB SummaryMemory Usage Timeline Data Space Usage Timeline TCB Execution SummaryProcessor Utilization Summary
Reports (1/2)
Advanced Technical Support
© 2007 IBM Corporation83 zSeries Problem Determination Tools
CICS Session StatisticsCPU Usage by TxnMean Service Time by TxnTotal Service Time by TxnService Time by Task Id Wait Time by TxnMean Service Time by TrmTotal Service Time by Trm
MQSeries Activity Summary CPU Usage by Txn CPU Usage by Queue CPU Usage by Request Wait Time by TxnWait Time by QueueWait Time by RequestServ Time by Txn Serv Time by Queue Serv Time by Request
DB2 Measurement Profile SQL Wait Time by Statement SQL Activity Timeline SQL Wait Time by Plan SQL Activity by DBRM SQL CPU/Svc Time by DBRM SQL Activity by Statement SQL CPU/Svc Time by Stmt SQL Activity by Plan SQL CPU/Svc Time by Plan SQL CPU/Svc Time by Loc (DDF) SQL Statement Attributes SQL Threads Analysis SQL Wait Time by DBRM CPU by Plan/Stored Proc
IMS Measurement Profile DL/I Call Timeline Transaction Timeline Transaction Activity Timeline CPU Usage by DL/I Call CPU Usage by Transaction CPU Usage by PSB Wait Time by DL/I Call Wait Time by Transaction Wait Time by PSB DL/I Activity by PSB DL/I Activity by Transaction DL/I Activity by DL/I Call PSB/PCB Attributes DL/I Call Attributes Transaction Service Times Transaction DL/I Counts CPU/Svc Time by DL/I Call CPU/Svc Time by PCB CPU/Svc Time by Transaction CPU/Svc time by PSB
Reports (2/2)
JavaJava Summary and Attributes
CPU Usage by PackageCPU Usage by ClassCPU Usage by MethodCPU Usage by Call PathService Time by PackageService Time by ClassService Time by MethodService Time by Call PathWait Time by PackageWait Time by ClassWait Time by MethodWait Time by Call Path
Advanced Technical Support
© 2007 IBM Corporation84 zSeries Problem Determination Tools
Primary Option Menu
Advanced Technical Support
© 2007 IBM Corporation85 zSeries Problem Determination Tools
Performance Reports panel
Select report S01”Measurement Profile".
Select report S01”Measurement Profile".
Red Indicates:
There was no data for reports or
Options are not turned on
Advanced Technical Support
© 2007 IBM Corporation86 zSeries Problem Determination Tools
Report: Measurement Profile
And almost all of the CPU time is in application code.
And almost all of the CPU time is in application code.
This job is heavily CPU intensive.
This job is heavily CPU intensive.
Advanced Technical Support
© 2007 IBM Corporation87 zSeries Problem Determination Tools
Report: CPU Usage By Category
You can drill down into the source code for a program.
Use the P line command to view Program Source Code.
You can drill down into the source code for a program.
Use the P line command to view Program Source Code.
Advanced Technical Support
© 2007 IBM Corporation88 zSeries Problem Determination Tools
Report: Source Program AttributionNotice that the most expensive statements access "MONTH-SUB".
Notice that the most expensive statements access "MONTH-SUB".
Advanced Technical Support
© 2007 IBM Corporation89 zSeries Problem Determination Tools
Source Program Mapping
COBOL: Compiler listing Side File (EQALANGX / IDILANGX / CAZLANGX)
C/C++: Compiler Listing
PL/I: Side File (EQALANGX / IDILANGX / CAZLANGX)
Assembler: ADATA
Java: Source File (HFS)
Advanced Technical Support
© 2007 IBM Corporation90 zSeries Problem Determination Tools
Enter a NEW Observation Session
Use the New command to create a new request.
Use the New command to create a new request.
Advanced Technical Support
© 2007 IBM Corporation91 zSeries Problem Determination Tools
"Schedule New Measurement" PanelThere are 8 panels. Each one controls different aspects of the request.
There are 8 panels. Each one controls different aspects of the request.
Job name is required (name of the job, region, or STC).
Use a * wildcard to see a list of active jobs.
Job name is required (name of the job, region, or STC).
Use a * wildcard to see a list of active jobs.
Advanced Technical Support
© 2007 IBM Corporation92 zSeries Problem Determination Tools
The "Measurement Options" Panel
To get detailed info about CICS, DB2, SQL Variables, IMS, MQ or Java, you MUST select options.
To get detailed info about CICS, DB2, SQL Variables, IMS, MQ or Java, you MUST select options.
Advanced Technical Support
© 2007 IBM Corporation93 zSeries Problem Determination Tools
The "CICS Transactions" Panel
Use this panel to select CICS transactions or terminals.
Use this panel to select CICS transactions or terminals.
Use a wildcard to specify partial transaction or terminal names.Use a wildcard to specify partial transaction or terminal names.
Advanced Technical Support
© 2007 IBM Corporation94 zSeries Problem Determination Tools
Using batch job to create a request
Advanced Technical Support
© 2007 IBM Corporation95 zSeries Problem Determination Tools
Enter a TNEW (Threshold) Request
Advanced Technical Support
© 2007 IBM Corporation96 zSeries Problem Determination Tools
Enter a TNEW (Threshold) Request
Advanced Technical Support
© 2007 IBM Corporation97 zSeries Problem Determination Tools
The F04 "SQL Activity by Statement” Report
The Ex command is used to perform Dynamic Explain.
The Ex command is used to perform Dynamic Explain.
Variable names substituted in place of the :H
Variable names substituted in place of the :H
Advanced Technical Support
© 2007 IBM Corporation98 zSeries Problem Determination Tools
The Dynamic Explain feature (Details)
Advanced Technical Support
© 2007 IBM Corporation99 zSeries Problem Determination Tools
E04 "CICS Mean Service Time by Txn" Report
Advanced Technical Support
© 2007 IBM Corporation100 zSeries Problem Determination Tools
Application Performance Analyzer: Summary
Non-intrusive Performance Analyzer for z/OS applications to
– Improve response time in online applications
– Improve batch turn around time
– Identify excessive I/O activity
– Identify excessive CPU usage
– Isolate performance problems in new and existing applications
– Test the effects of increasing workload
Advanced Technical Support
© 2007 IBM Corporation101 zSeries Problem Determination Tools
Agenda
Overview of the Application Development Tools
Overview of the Problem Determination Tools- File Manager- Fault Analyzer - Debug Tool Utilities & Advanced Functions- Application Performance Analyzer
- Other Tools: Overview– Workload Simulator– File Export–Application Time Facility
Summary
Advanced Technical Support
© 2007 IBM Corporation102 zSeries Problem Determination Tools
Workload Simulator Conducts Reliable Stress, Performance, Regression, Function And Capacity Planning Tests
Workload Simulator
VTAM
Applications under test
z/OS and OS/390
Improve
Improve applicationReliability
AvailabilityServiceability
Plan for growth
ProjectsResourcesSchedules
Test CriteriaTest Cases
Advanced Technical Support
© 2007 IBM Corporation103 zSeries Problem Determination Tools
Used for conducting reliable Testing:
Stress, Performance, Regression, Function and Capacity Planning
Automatic Generation of:
Scripts (REXX like)
Networks (SNA, C-PIC, TCP/IP)
Controls resource during execution
Simulates different terminals, terminal features & terminal actions
Provides utilities for post-test Analysis
Workload Simulator Features Improve
Advanced Technical Support
© 2007 IBM Corporation104 zSeries Problem Determination Tools
Reformat data, scramble sensitive data, create
Nth selections of data, exploit application
defined data relationships
ISPF
File Export (Data Manipulation
Engine)
QSAM DB2VSAM IMSSequential
File Export Repository, Language Parsers, Session Store, Generated JCL
File ExportFlexible solution for exporting and importing related sets of enterprise data
Extract related data
from multiple sources
Advanced Technical Support
© 2007 IBM Corporation105 zSeries Problem Determination Tools
File Export Utility FeaturesFor exporting and importing related sets of enterprise data
Provides for one-to-one, one-to-many and many-to-one data creation
Copies all data in a related set of objects or a slice of data across a related set of objects
Supports application defined relationships
Includes highly flexible data selection and transformation rules
Gives the user the option to protect sensitive data on a field by field basis
Supports altering data content while copying
Includes a repository in which common persistent information about your data is stored
Offers highly selective data copying capabilities that simplify the complex task of populating test environments, or migrating applications to new or additional environments
Advanced Technical Support
© 2007 IBM Corporation108 zSeries Problem Determination Tools
Helps development teams ensure their software performs
as intended
ISPF
Application Time Facility
BATCH CICSIMS DB2TSO
COBOL, PL/I, Assembler, CLIST, REXX EXEC
Application Time FacilityEasy for programmers to specify the jobs to receive simulated dates
IDMS
IDEAL
Natural
Advanced Technical Support
© 2007 IBM Corporation109 zSeries Problem Determination Tools
Application Time Facility Features
On-line ISPF interface where you can easily specify jobs or groups of jobs to receive simulated dates
Test applications at end-of-period or sensitive times without changing z/Series system date / time settings
Support for Batch, CICS, LE, IMS, IDMS, IDEAL, DB2 and NATURAL
Shifts time zones for on-line regions so users will see their local time or, dated application file updates will have the local time
Restarts a failing job at the date / time it failed, ensuring that file update / reports are not affected
Handles all clock formats including decimal, binary, timer units, microseconds and TOD clock format
Advanced Technical Support
© 2007 IBM Corporation110 zSeries Problem Determination Tools
Agenda
Overview of the Application Development Tools
Overview of the Problem Determination Tools- File Manager- Fault Analyzer - Debug Tool Utilities & Advanced Functions- Application Performance Analyzer- Others Tools: Overview
Summary
Advanced Technical Support
© 2007 IBM Corporation111 zSeries Problem Determination Tools
Summary
z/OS Problem Determination and Deployment Tools that:
Exploits IBM’s latest software and processor technology
Offer wide array of key features and functions
Can enhance the Application Development Lifecycle
Provide opportunity for increased user productivity
Are affordably priced
Have flexible terms and conditions
Have no license keys