Verhoef Training Europe.

11B Kingsmead Square, Bath, BA1 2AB, UK
Phone:+44 (0)1753 852 233 Fax: +44 (0)1753 840 190



CICS Performance and Tuning




AUDIENCE:   This course is designed for system programmers/analysts responsible for installation, support, debugging, or performance of a CICS system. Very experienced CICS application programmers wishing to gain knowledge on efficient use of CICS facilities will also benefit from this course.

PREREQUISITES:   Before taking this course, you should have experience installing, tailoring, or maintaining a CICS (any release) system. If you are in the process of migrating to CICS TS, prior experience with CICS in an earlier version satisfies this prerequisite.

DURATION:   4 days. Hands on.

OBJECTIVES:   This course covers the performance aspects of a CICS TS system and how to measure and tune the system to meet performance objectives. The course material is reinforced with classroom examples and review of students' systems.
After completion of this course, you should be able to:
- Describe the elements of performance analysis and resource management
- Understand methods used to measure and tune a CICS system.
- List resources used and managed by CICS and demonstrate methods used to minimise resource consumption.
- Obtain information about CICS resource utilisation.
- Describe CICS TS storage, task, file, and network management and how to monitor these functions.
- List performance considerations of the CICS DB2 and CICS DL/1 interfaces.
- Identify resource contention and proper use of tuning parameters to control contention.
- Understand performance considerations for interconnected CICS systems.

COURSE CONTENT:  

Setting performance objectives
Data gathering for performance objectives
Performance monitoring
Determining acceptable trade-offs

Performance measurement of CICS
Statistics
CICS Monitoring Facility (CMF)
CICS Trace facility
Other CICS data
Service Level Reporter (SLR)
Generalised Trace Facility (GTF) and Reports
Resource Measurement Facility (RMF)
Third-party products
Performance measurement of related products
ACF/VTAM
ACF/NCP
VSAM, IMS, DB2

Collection, reporting and interpretation of CICS Statistics
Statistics from: Auto-install, DBCTL session termination, Dispatcher, DL/1, Domain manager, Dump, Dynamic transaction backout, File and LSR Pool, IRC batch, ISC/IRC, Journal Monitoring, Program, Domain, Storage Manager, Table manager, Task control and transaction class, Temporary storage, Terminal, Transient data, VTAM statistics - batch and on-line statistics processing

Use of the CICS Monitoring Facility (CFM)
Monitoring classes
Performance class
Exception class
SYSEVENT class use with SLR
The Monitoring Control Table (MCT)
Controlling monitoring
Monitoring output processing

Use of CICS Trace Facility
Controlling Trace
Trace destinations
Collecting and reporting trace data
Interpretation of trace entries as they relate to performance

Identifying CICS Constraints
Response times
Storage stress
Program Loading
Paging problems
Storage violation
Limit Conditions
Hardware Constraints
Software constraints
Resource Contention
DASD
Communications network
Real and Virtual Storage
Processor cycles
Effects of constraints on CICS logic
Operating System Tuning
Reducing MVS CSA requirements
Making CICS non-swappable
Storage Isolation
Setting corrects CICS region size
CICS dispatching priority and performance groups
Using job initiators
Region exit interval (ICV)
Use of LLA (MVS/ESA library lookaside)
Use of VLF (MVS/ESA virtual lookaside facility)
DASD tuning
Minimizing use of cycles
Major Elements of MVS and CICS Virtual Storage
MVS Storage Areas
CICS use of private area storage
The CICS dynamic storage areas
CICS kernel storage
CICS nucleus storage.

Tuning Virtual and Real Storage
Correct specifications and monitoring of CICS dynamic storage areas
CICS DSA (CDSA)
User DSA (UDSA)
Extended CICS DSA (ECDSA)
Extended User DSA (EUDSA)
Extended Read-Only DSA (ERDSA)
The storage cushions
Maximum task specifications (MXT)
Maximum active task specifications (AMXT)
Maximum task class specifications (CMXT)
Task prioritisation
Resident, non-resident and transient programmes
Putting application programmes above the 16MB line
Splitting systems
Limiting the expansion subpool 229
Dynamic log buffer size (DBUFSZ)
Minimising and eliminating programme compressions.

Terminal Control Tuning
Terminal input/output area (TYPETERM IOAREALEN or TCT TIOAL)
Receive-any input areas (RAMAX)
Receive-any pool (RAPOOL)
High Performance option (HPO) with VTAM
SNA transaction flows (MSGINTEG, PROTECT and ONEWTE)
SNA chaining (TYPETERM, RECEIVESIZE, BUILDCHAIN and SENDSIZE)
Number of concurrent logon/logoff requests (OPNDLIM)
Terminal scan delay (ICVTSD)
Negative poll delay (NPDELAY)
Compression of output terminal data streams
Automatic installation of terminals

VSAM and File Control Tuning
VSAM resource sharing (LSRPOOL)
Reducing buffer contention
VSAM buffer allocations
VSAM string settings
Maximum keylength for LSR (KEYLEN)
Resource percentile for LSR (RSCLMT)
Hyperspace buffers
VSAM subtasking
Data tables
Shared Data Tables.

CICS - DL/1 Tuning
DBCTL minimum threads (MINTHRD)
DBCTL maximum threads (MAXTHRD)
DBTCL DEDB parameters (CNBA, FPBUF, FPBOF)
DL/1 threads (DLTHRED)
IMS Storage Pools (PSBPL, DMBPL, ENQPL)
CICS shared database facility.

CICS - DB2 Tuning
Resource Control Table parameters (THRDMAX, THRDM, THRDA, DPMODE)
Thread creation and termination
Thread reuse.

Journaling Tuning
Activity keypoint frequency (AKPFREQ)
Journaling options (BUFSIZE, SYSWAIT)
Journal volume switches (JOUROPT)

MRO and ISC Tuning
CICS Intercommunication Facilities
Terminal input/output area (SESSIONS IOAREALEN) for MRO Sessions
Proper balance of SEND/RECEIVE sessions or Contention Winner/Loser sessions
Batching requests (MROBTCH)
Extending the life of mirror transaction (MROLRM)

Application Programming considerations
BMS map suffixing and the device-dependent suffix option
Restricted Language options
COBOL RESIDENT option
PL/1 shared library
COBOL 11

Tuning CICS Services and Facilities
CICS Temporary Storage
· Main temporary storage
· Auxiliary temporary storage
· Secondary extents for emporary storage
· Multiple buffers
· Concurrent input/output operations
· Control interval (CI) sizes)
CICS Transient data
· Multiple VSAM buffers
· Multiple VSAM strings
· logical recovery
· logging activity
· secondary extents for intrapartition
· transient data
CICS Monitoring Facility
CICS Trace (minimizing overhead)
Program Loading.

Improving CICS Initialisation and termination times and recovery/restart tuning.  

© 2007 Verhoef Training