IAM: Improving Performance for VSAM Applications



Similar documents
Using IDCAMS to Manage VSAM Data Sets

Buffering, Record Level Sharing, and Performance Basics for VSAM Data Sets

FDRSOS (Safeguard Open Storage)

Utility Mainframe System Administration Training Curriculum

CICS Transactions Measurement with no Pain

CA Database Management Solutions for IMS for z/os

Java on z/os. Agenda. Java runtime environments on z/os. Java SDK 5 and 6. Java System Resource Integration. Java Backend Integration

File Manager base component

IMS Disaster Recovery

CA Deliver r11.7. Business value. Product overview. Delivery approach. agility made possible

SHARE in Seattle The Benefits of using FATSCOPY for EMC DLm tape migration

Software Product Description

CA High Performance Recovery for IMS for z/os

CA Log Analyzer for DB2 for z/os

CA JCLCheck Workload Automation

Exploiting z/os Tales from the MVS Survey

The Comeback of Batch Tuning

Program Product. Open System Backup

CA Integrated Agent Services

Computer Associates BrightStor CA-Vtape Virtual Tape System Software

The Top 10 Things DBAs Should Know About Toad for IBM DB2

z/os Performance Monitoring Tools Shoot-Out: ASG, BMC, CA, Rocket

In-memory Tables Technology overview and solutions

System z Batch Network Analyzer Tool (zbna) - Because Batch is Back!

VIT University Vellore , Tamil Nadu, India

A Survey of Shared File Systems

FDR/UPSTREAM INNOVATION Data Processing Providing a Long Line of Solutions

Compiler Forecast: Cloudy with. Cloud Computing for your z/os compilers

Data Masking Secure Sensitive Data Improve Application Quality. Becky Albin Chief IT Architect

systems Managed Storage - Getting there is half the fun Henry steinhauer,hewitt Associates

BMC Mainframe Solutions. Optimize the performance, availability and cost of complex z/os environments

DBAs having to manage DB2 on multiple platforms will find this information essential.

Application Backup and Restore using Fast Replication Services. Ron Ratcliffe March 13, 2012 Session Number 10973

Click to edit Master title style. User Experience with zhpf

Accelerating Enterprise Applications and Reducing TCO with SanDisk ZetaScale Software

CA View r11.7. Business value. Product overview. Delivery approach

Interactive System Productivity Facility (ISPF)

Challenges of Capacity Management in Large Mixed Organizations

CA TPX Session Management r5.3

Disk Library for mainframe - DLm6000 Product Overview

Performance rule violations usually result in increased CPU or I/O, time to fix the mistake, and ultimately, a cost to the business unit.

FAQ: HPA-SQL FOR DB2 MAY

CA Chorus Software Manager

BMC CONTROL-M Agentless Tips & Tricks TECHNICAL WHITE PAPER

z/os 1.8 Erfahrungsbericht

Software AG ETS Product Support for High Performance FICON for System z (zhpf)

Non-disruptively Migrating z/vm and Linux Guests in Their Entirety

z/os VULNERABILITY SCANNING AND MANAGEMENT Key Resources, Inc. (312) KRI

CA Workload Automation Agents Operating System, ERP, Database, Application Services and Web Services

Running a Workflow on a PowerCenter Grid

CA Librarian r4.3. Overview. Business value

Improve SQL Performance with BMC Software

CA Workload Automation Agents for Mainframe-Hosted Implementations

Data Protection for Open Systems with the FDR Products on your z/os Mainframe

Information Systems. Capacity Planning Monthly Report

CA Endevor Software Change Manager

z/os Curriculum Job Control Language (JCL) Curriculum JES Curriculum WebSphere Curriculum TSO/ISPF for z/os Curriculum

An Introduction to z/os DASD Backup and Archiving

DATABASE. Pervasive PSQL Performance. Key Performance Features of Pervasive PSQL. Pervasive PSQL White Paper

Tivoli Storage Manager Explained

Big Data Storage in the Cloud

RACF PERFORMANCE TUNING

r12 Overview Business value

Top 10 Tips for z/os Network Performance Monitoring with OMEGAMON Ernie Gilman

Understanding Disk Storage in Tivoli Storage Manager

New Ways of Running Batch Applications on z/os

SupportPac CB12. General Insurance Application (GENAPP) for IBM CICS Transaction Server

SHARE Lunch & Learn #15372

CANZLOG: Consolidated Logging for the New and Experienced User

Physical Data Organization

CA Workload Automation CA 7 Edition r11.3

Request for Proposals for Data Center/Mainframe Hosting Solution

Database Recovery Control (DBRC) in Practice by Peter Armstrong

Record Storage and Primary File Organization

Top 10 Tips for z/os Network Performance Monitoring with OMEGAMON. Ernie Gilman IBM. August 10, 2011: 1:30 PM-2:30 PM.

Splunk/Ironstream and z/os IT Ops

z/vm and Linux on zseries Performance Monitoring An Update on How and With What Products

Configuration and Coding Techniques. Performance and Migration Progress DataServer for Microsoft SQL Server

Operating Systems CSE 410, Spring File Management. Stephen Wagner Michigan State University

Restoring Microsoft SQL Server 7 Master Databases

CA Application Quality and Testing Tools

Workflow Templates Library

EMC DISK LIBRARY FOR MAINFRAME

CA FAQS Production Control System for z/vse r5.0

Analyzing Network Servers. Disk Space Utilization Analysis. DiskBoss - Data Management Solution

Using RAID Admin and Disk Utility

IBM DB2: LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs

21 Things You Didn t Used to Know About RACF

BROCADE PERFORMANCE MANAGEMENT SOLUTIONS

Agenda. Enterprise Application Performance Factors. Current form of Enterprise Applications. Factors to Application Performance.

PowerExchange HotFix Installation Overview

Writing the Definitive Systems Programmer Resume

Configuration and Utilization of the OLAP Cache to Improve the Query Response Time

Data Warehousing With DB2 for z/os... Again!

F9 Integration Manager

Carl R. Haske, Ph.D., STATPROBE, Inc., Ann Arbor, MI

Transcription:

IAM: Improving Performance for VSAM Applications Richard Morse Innovation Data Processing rmorse@fdrinnovation.com Click here for the FULL NOTES version.

Improving Performance for VSAM Applications What is IAM IAM Concepts IAM Performance Strategies IAM Performance Summary How to IAM a VSAM Data Set IAM Advanced Functions IAM Version 9.2 Enhancements 2

What is IAM? Reliable High Performance indexed access method Well established for over 40 years Continuously evolving utilizing new technology to be responsive to customer needs An alternative to VSAM VSAM API (Application Programming Interface) Supports KSDS, ESDS, RRDS and Alternate Index. Provides CPU time, I/O, and Response time savings Hardware or Software data compression techniques Minimizing manual tuning Selected for use at the dataset level 3

What is IAM? Reliable High Performance indexed access method Well established for over 40 years Continuously evolving utilizing new technology to be responsive to customer needs An alternative to VSAM VSAM API (Application Programming Interface) Supports KSDS, ESDS, RRDS and Alternate Index. Provides CPU time, I/O, and Response time savings Hardware or Software data compression techniques Minimizing manual tuning Selected for use at the dataset level 4

IAM Concepts Data stored in fixed length blocks Not restricted to certain sizes Maximizes space utilization of DASD architecture Resides on DASD as Non-VSAM data set: 1. DSNTYPE=BASIC 64K tracks per volume 2. DSNTYPE=LARGE >64K tracks per volume 3. DSNTYPE=EXTREQ or EXTPREF >64K tracks per volume Can Reside on Extended Address Volumes (EAV) 5

IAM Concepts IAM File Structure Control Information Prime Data Area Index Extended Area 6

IAM Performance Strategies Index in Virtual Storage Real Time Tuning Buffer Management Insert Strategy Record Based Overflow Prime Related Overflow Prime Extension Data Compression Dynamic Tabling Overflow Caching 7

IAM Performance Strategies Index in Virtual Read into storage during open Eliminates index buffers and I/O Compressed format to Reduce Storage Requirements Use 64-bit virtual or z/os Data Space storage Eliminates impact on job region requirements Prime Related Overflow (PRO) Reduces Overflow index storage requirements 8

IAM Performance Strategies Real Time Tuning Dynamic buffer management based on application processing LRU management of randomly processed blocks Automatic deferred writes for batch updates Immediate reuse of buffers with sequentially processed blocks Sequential read ahead Sequential multiple blocks read/written per physical I/O In mixed random/sequential environments, dynamically balances buffer usage based on application I/O demands 9

IAM Performance Strategies Real Time Tuning (continued) Dynamically adjusts number of buffers Works within a range of minimum/maximum number of buffers Periodically evaluates buffer usage and adjusts as necessary Provides indication if larger maximum would reduce I/O Maximum buffer defaults (installation modifiable) 65,536K (64M) buffer space for Batch/TSO 1,024K (1M) buffer space for CICS Defaults should yield excellent performance for most datasets Increase maximum by using BUFND or BUFSP Can use IAM Override facility to override buffering value BUFSP, MINBUFNO, MAXBUNO Turbo mode increases responsiveness 10

IAM Performance Strategies Real Time Tuning (continued) Uses 31-bit virtual storage for all buffers If a buffer is acquired in 24-bit storage, it will be released Option to use 64-bit virtual for buffers Does not connect buffers to place holders (strings) Eliminates CI lockout/exclusive control problems Simplified Manual Tuning IAM will display the IAM368 message in the IAMINFO report for a dataset if it detects that more buffers would have been beneficial Bottom line Typical results are a 30% to 80% reduction in elapsed time 11

IAM Performance Strategies User Reported Benefit: IAM Reduced Elapsed Time by 89% IAM Reduced EXCP s by 96% 12

IAM Performance Strategies User Reported Benefit: IAM Reduced Elapsed Time by 89% IAM Reduced EXCP s by 96% 13

IAM Performance Strategies Real Time Tuning: File Load Buffering Sequential output process Defaults to obtaining enough buffers for 2 cylinders of data Uses 31-bit or 64-bit virtual storage for buffers Controlled by CRBUFOPT Override or Global Option When 1/2 buffers are filled, issues EXCP to write that set of buffers Application can concurrently fill up rest of buffers Uses Data Space to hold index while writing data Note: For SMS Extended Format datasets BSAM is used, so IAM does not have direct control on number blocks written per physical I/O 14

IAM Performance Strategies High Performance FICON: z/hpf An alternative internal I/O architecture Reduces channel connect time A single TCW structure vs multiple CCW structure Recently enhanced by IBM to support EXCP Benefits Improved I/O efficiency and capacity IAM: Averages 26% reduction in connect time May provide some elapsed time savings 15

IAM Performance Strategies Insert Strategy: Record Based Overflow Record placement based on space, not on key Indexed by record key in virtual storage Benefits Less I/O overhead than VSAM CI/CA splits More efficient use of DASD space Unused Overflow space has no restrictions on use Works exceptionally well for the vast majority of files 16

IAM Performance Strategies Insert Strategy: Prime Related Overflow (PRO) Record placement based on key by a block split technique All records in block related to same Prime Data Block Indexed by block Benefits Reduces Overflow Index Size and Reorg Frequency Improved Sequential Processing over Record based overflow Works well on files with hundreds of thousands of inserts No restrictions on reuse of empty overflow blocks 17

IAM Performance Strategies Insert Strategy: Prime Extension Records with Keys Beyond Current End of File Records in Ascending Key Sequence Indexed by block, written out to disk Benefits Less index storage required than overflow Good sequential performance Reduced need for Reorg 18

IAM Performance Strategies Data Compression Increases effective amount of data transfer per I/O Reduces EXCP counts Reduces data set size IAM Software Compression High performance, proprietary run length encoding algorithm No dictionary required Typical results are 20% to 50% compression IAM use of System z Hardware Compression Dictionary dynamically built during file load Optional user provided customized dictionaries Typical results are similar to Software Compression Customized dictionaries may achieve > 90% compression 19

IAM Performance Strategies IAM s Dynamic Data Space Record based cache in virtual storage Used for randomly read records May significantly reduce I/O and buffer needs Records stored in segments, less unused storage for variable length records Dynamic LRU management of records in table Statistics provided in IAMINFO reports 20

IAM Performance Strategies IAM Overflow Area Cache Block based cache area for record based overflow blocks Entire overflow area at open time is cached Cache is in 64-bit virtual storage Usage is triggered by CACHE64 Override Benefits Intended usage is for files with large record based overflow Inserts have been done in a very random manner Improve sequential processing 21

IAM Performance Strategies Installation Selectable Defaults Buffering Data Compression SMF Records Use of 64-bit Virtual for the Index Space Use of 64-bit Virtual for buffers Can be easily changed with provided program: IAMZAPOP 22

IAM Performance Strategies Installation Selectable Defaults Buffering Data Compression SMF Records Use of 64-bit Virtual for the Index Space Use of 64-bit Virtual for buffers Can be easily changed with provided program: IAMZAPOP 23

Performance Summary IAM Improves VSAM Application Performance Index in virtual storage Eliminates index component I/O and buffers Dynamic Real Time Tuning IAM dynamically selects best buffer management technique IAM dynamically decides on number of buffers Record based overflow Eliminates I/O overhead of CI and CA splits Data Compression Increases effective data transfer per I/O Reduces EXCP counts 24

Performance Summary User Experience TRMS Database I/O Savings of About 79% 25

Performance Summary User Experience Parts Master File I/O Savings of 68% 26

Performance Summary With a Lawson Application from INFOR IAM Reduced CPU Time by 40.6% 30.00 25.00 20.00 15.00 Avg. CPU Time with VSAM 23.78 Avg. CPU Time with IAM 14.12 10.00 5.00 0.00 Daily Runs from 2012 27

Performance Summary With a Lawson Application from INFOR IAM Reduced Elapsed Time by 68.8% 18 16 14 12 10 8 6 4 2 0 Avg. Elapsed Time with VSAM 11.2 Daily Runs from 2012 Avg. Elapsed Time with IAM 3.5 28

Performance Summary With a Lawson Application from INFOR IAM Reduced VSAM EXCPS by 99% 7,000,000 6,000,000 VSAM Avg. EXCP: 6,174,370 5,000,000 4,000,000 3,000,000 2,000,000 1,000,000 0 IAM Avg. EXCP: 60,673 Weekly EXCP Counts from 2012 29

Performance Summary Typical Results Reduces Batch Processing Time by 20% to 60% Reduces Physical I/O (EXCP s) by 40% to 80% Reduces CPU time by 20% to 40% CPU savings may be reduced by Data Compression Data Compression Reduces DASD Space by 20% to 50% 30

Performance Summary Can IAM Help? SMF Analysis Program Determine how much VSAM I/O activity a system has Do we have high enough VSAM I/O activity to justify IAM? Identify Datasets that are Candidates for Conversion to IAM Report on VSAM datasets with most I/O activity Report on largest VSAM datasets What datasets will yield the most savings from IAM? Available for Free Trial Includes Review and Analysis of Results from your installation 31

Example of SMF Analysis Program Output DEVICE TYPE...3390 VSAM CYLINDERS...1737106 TOTAL DISK EXCPS...10809424107 VSAM EXCPS...3092629292 VSAM EXCP REPORT % CLUSTER TOTAL SPLITS ALLOC DATA SET NAME EXCPS EXCPS RECORDS READS INSERTS UPDATES DELETES CI CA TRKS ---- --- ---- ----- ----- ------- ----- ------- ------- ------- -- -- ---- IDP1.ABCD.EFGHI.YW16AEA0 100 155676980 IDP1.ABCD.EFGHI.YW16AEA0.INDEX 99 154214328 32006 0 0 0 0 0 0 517 IDP1.ABCD.EFGHI.YW16AEA0.DATA 1 1462652 321755940 22174275 0 0 0 0 0 7485 IDP1.ABCD.EFGHJ.YW45AEA0 100 136947086 IDP1.ABCD.EFGHJ.YW45AEA0.INDEX 99 35728377 12366 0 0 0 0 0 0 328 IDP1.ABCD.EFGHJ.YW45AEA0.DATA 1 1218709 136605426 26716724 0 0 0 0 0 6750 IDP1.RAM.PROD.XYZ 100 125142131 IDP1.RAM.PROD.XYZ.DATA 93 116776692 32182274 2633724141 290541 1182304 0 9104 1581 7500 IDP1.RAM.PROD.XYZ.INDEX 7 8365439 15899 0 0 25501 0 1581 0 1125 IDP1.ABCD.EFGHK.YW31AEA0 100 64290464 IDP1.ABCD.EFGHK.YW31AEA0.INDEX 99 63572195 8400 0 0 0 0 0 0 112 IDP1.ABCD.EFGHK.YW31AEA0.DATA 1 718269 90589959 11401885 0 0 0 0 0 104625 32

How to IAM a VSAM Data Set Initial Steps 1. Install the IAM Product Refer to Section 90 of the IAM Manual for Instructions Recommend placement in Link List to avoid need for STEPLIB 2. Activate the IAM VSAM Interface Run the IAMSTART procedure 3. Define an IAM Data Set with IDCAMS Add OWNER($IAM) to DEFINE CLUSTER Statement 4. Use as you do any standard VSAM Data Set No JCL changes necessary if in Link List Otherwise add a STEPLIB to the IAM Load Library 33

How to IAM a VSAM Data Set Example of IDCAMS DEFINE DEFINE CLUSTER(NAME(my.vsam.ksds) - VOLUME(*) CYL(10 1) - ADD OWNER($IAM) ) - DATA(NAME(my.vsam.ksds.data) - RECORDSIZE(200 256) KEYS(16 0) - CISIZE(4096) FREESPACE(10 10)) - INDEX(NAME(my.vsam.ksds.index) - CISIZE(1024)) 34

How to IAM a VSAM Data Set The IAMINFO Report IAM Run Time Reports: IAMINFO One page statistical report on IAM file activity Produced whenever an IAM file is closed Requires IAMINFO DD card: //IAMINFO DD SYSOUT=* Optionally can be written as SMF record IAMINFO Report from provided IAMSMF program Can be produced in CSV format for spread sheet use Provides detailed information to assist with tuning IAM368 Message if more buffers would have reduced I/O IAM373 Message will tell you if file should be reorganized 35

How to IAM a VSAM Data Set The IAMINFO Report IAM Run Time Reports: IAMINFO One page statistical report on IAM file activity Produced whenever an IAM file is closed Requires IAMINFO DD card: //IAMINFO DD SYSOUT=* Optionally can be written as SMF record IAMINFO Report from provided IAMSMF program Can be produced in CSV format for spread sheet use Provides detailed information to assist with tuning IAM368 Message if more buffers would have reduced I/O IAM373 Message will tell you if file should be reorganized 36

Example IAMINFO Report Top Portion IAM400 IAMINFO DATASET STATISTICS REPORT -- VERSION 9.2/00 SPIN 00 -- INNOVATION DATA PROCESSING DATE-2015.069 IAM360 STEP - BNC1KF DDNAME - VSAMCRT1 DATA SET MONITORED - IAMV.BNC1KI.CLUSTER IAM361 INFO REQUESTED BY PROGRAM RANUPD FOR UPDATE PROCESSING OPENED-2015.069.15:06:36 CLOSED-015.069.15:06:59 IAM362 IAM DATA CHARACTERISTICS - OVERRIDES IN EFFECT: IAM FILE FORMAT-----------= ENHANCED - IAM FILE STATUS-----------= LOADED LOGICAL RECORD LENGTH-----= 1000 - CI SIZE-------------------= 8192 KEY SIZE------------------= 8 - KEY OFFSET----------------= 0 TOTAL RECORDS-------------= 2000000 - TOTAL RECORDS DELETED-----= 0 TOTAL RECORDS UPDATED-----= 100000 - TOTAL RECORDS INSERTED----= 0 IAM363 IAM FILE CHARACTERISTICS - BLOCKING FACTOR-----------= 4 - BLOCK SIZE----------------= 13682 TRACKS IN USE-------------= 38492 - VARIABLE LENGTH OVERFLOW--= YES NUMBER OF EXTENTS---------= 13 - NUMBER OF VOLUMES---------= 2 DATASET TYPE--------------= KSDS - SHARE OPTIONS-------------= 2 NUMBER OF IAM DATA BLOCKS-= 153849 - HIGH ALLOCATED RBN--------= 0 INTEGRATED OVERFLOW (CI%)-= 0 - DASD RESERVE (CA%)--------= 0 FILE DEFINED DATE---------= 2015.069 - FILE DEFINED TIME---------= 15:04:32 FILE LOADED DATE----------= 2015.069 - FILE LOADED TIME----------= 15:04:50 FILE UPDATE DATE----------= 2015.069 - FILE UPDATE TIME----------= 15:06:59 IAM372 IAM EXTENDED AREA CHARACTERISTICS - EXT. OVERFLOW RECORDS-----= 0 - EXT. OVERFLOW BLOCKS------= 0 EXTENDED BLOCKS ALLOCATED-= 0 - EXTENDED PE BLOCKS--------= 0 EXTENDED BLOCKS USED------= 0 - EXTENDED BLOCKS AVAILABLE-= 0 37

Example of IAMINFO Report Bottom Portion IAM365 IAM EXECUTION STATISTICS - TOTAL STORAGE REQUIRED----= 23650304 - PRIME INDEX(COMPRESSED)---= 360203 STORAGE ABOVE THE LINE----= 23642112 - COMPRESSED DATA STRUCTURE-= NO 64-BIT BUFFER STORAGE (K)-= 0 - TURBO BUFFERING-----------= YES 64-BIT INDEX STORAGE (K)--= 704 - TOTAL JOB 64-BIT INDEX (K)= 704 REQUESTS PROCESSED--------= 2200004 - REQUESTS FAILED-----------= 1 DISK BLOCKS READ----------= 3935 - DISK BLOCKS WRITTEN-------= 1389 DYNAMIC BUFFER RETRIEVALS-= 249942 - MAXIMUM BUFFERS USED------= 1388 MINIMUM BUFFERS USED------= 64 - MAXIMUM BUFFERS AVAILABLE-= 9809 DYNAMIC TABLE RETRIEVALS--= 0 - DYNAMIC TABLE RECORDS-----= 0 Z/HPF I/O REQUESTS--------= 0 - ECKD I/O REQUESTS---------= 5324 IAM366 IAM COMMAND EXECUTION SUMMARY - GET RANDOM----------------= 100000 - PUT UPDATE----------------= 100000 GET SEQUENTIAL------------= 2000001 - PUT ADD-------------------= 0 GET PREVIOUS--------------= 0 - POINT (START BROWSE)------= 0 GET KGE/GENERIC-----------= 0 - POINT KGE/GENERIC---------= 1 GET (SKIP SEQUENTIAL)-----= 0 - ERASE---------------------= 0 ENDREQ--------------------= 0 - WRTBFR--------------------= 0 IAM STATISTICS------------= 0 - IAM FLUSH BUFFER----------= 0 CLOSE---------------------= 1 - OPEN----------------------= 1 CLOSE TYPE=T--------------= 0 - VERIFY--------------------= 0 INVALID REQUESTS----------= 0 - RECORD LENGTH CHANGES-----= 0 SEQ CHAINED BLOCKS READ---= 149945 - SEQ CHAINED BLOCKS WRITTEN= 0 38

How to IAM a VSAM Data Set IAM Override Facility Control IAM functions for which there are no JCL parameters Change parameters for IAM without affecting VSAM Specified by //IAMOVRID DD card Card image (LRECL=80) data set Can be DD * Can be sequential dataset or PDS Member CREATE control card for define and file load ACCESS control card for other IAM dataset processing Described in Section 30 of the IAM Manual 39

How to IAM a Data Set Best Practices 1. Have current version IAM load library in Link List 2. Run IAMSTART automatically with each IPL 3. Activate collection of the IAM SMF records 4. Avoid use of SMS Extended Format for IAM Data Sets Use DSNTYPE=LARGE instead 5. Always delete / define multi-volume IAM data sets prior to reorgs, reload, or as target of data set copy functions 6. Always do a LISTCAT ALL after defining an IAM data set 7. Add an IAMINFO DD to SYSOUT on job steps that use IAM 8. Set Global Options to minimize need for IAM Overrides 40

How to IAM a Data Set Best Practices Global Options 1. Keep DSORG=PS set 2. Keep BELOWPOOL=YES set 3. Set SMF=YES and RECTYPE=nnn to an unused SMF user record type. 4. Set ENABLE=LARGE 5. Set ESDSINTEGRATED=5 if using IAM ESDS files and 6. Set ENABLE=XESDS or ENABLE=PSEUDO if using ESDS 7. Set ENABLE=EAV if IAM files will be on EAV volumes 8. Set COMPRESSTYPE=HW For Hardware Instruction 41

How to IAM a Data Set Best Practices Global Options 1. Keep DSORG=PS set 2. Keep BELOWPOOL=YES set 3. Set SMF=YES and RECTYPE=nnn to an unused SMF user record type. 4. Set ENABLE=LARGE 5. Set ESDSINTEGRATED=5 if using IAM ESDS files and 6. Set ENABLE=XESDS or ENABLE=PSEUDO if using ESDS 7. Set ENABLE=EAV if IAM files will be on EAV volumes 8. Set COMPRESSTYPE=HW For Hardware Instruction 42

How to IAM a Data Set Best Practices Global Options Continued 9. DATACOMPRESS=999999999 turns off data compression 10. INDEXSPACE=64BIT or ALL 11. ENABLE=BUF64 and CRBUFOPT=64BIT for 64-bit buffers 12. Keep set to DATASPACE=2048 13. Be careful of using RLS=(REQUIRED,TABLE). 43

IAM Advanced Functions Alternate Index (AIX) and Relative Record (RRDS) Support IAMRLS Single System Record Level Sharing IAM/PLEX Record Level Sharing on a SYSPLEX 44

IAM Advanced Functions Alternate Index Support (AIX) IAM Performance to Alternate Index Processing Defined and Functions like VSAM Alternate Index, only faster Define Base Cluster as IAM (OWNER($IAM)) Define Alternate Index Automatically becomes IAM AIX Unique or Non-Unique Keys Upgrade or NoUpgrade Define Path Automatically becomes IAM Path Update or NoUpdate No Application Program or CICS Changes Additional Cost Option to IAM Product Includes Support for VSAM RRDS type data sets 45

IAM Advanced Functions Record Level Sharing Enables shared access to IAM files with data integrity IAM/RLS Sharing with multiple address spaces on single LPAR Supports CICS, Batch, TSO, other address spaces IAM/PLEX Included with base IAM product All I/O for shared data set handled by IAMRLS address space Sharing with Multiple Systems in a SYSPLEX Supports CICS, Batch, TSO, other address spaces All I/O to each shared data set routed to owning IAMPLEX Additional Cost Option to base IAM product 46

IAM Advanced Functions Record Level Sharing CICS Support Must install IAM provided CICS exits No CICS application program changes required Version 9.2 adds support for various VSAM RLS only I/O requests Looks like non-rls VSAM file to CICS Automated Recovery Processing If an IAM/PLEX or IAM/RLS region becomes unavailable Close and disable affected files Abend in-flight transactions using any of the affected files When IAM/PLEX or IAM/RLS region is available Open all of the IAM files that had been in use Restart shunted transactions to do the recovery 47

IAM Advanced Functions Record Level Sharing Journal and Recovery Facilities Capabilities Use SYSPLEX System Logger IAM/RLS only: Use Sequential DASD data sets Persistent Record Locks Will re-establish record locks for recoverable files that were held at time IAM/RLS or IAM/PLEX became unavailable Batch applications May need syncpoints for recoverable data sets 48

IAM Advanced Functions Record Level Sharing RLSID: Name of IAM/RLS or IAM/PLEX address space that is providing the I/O service for a specific data set Unique name assigned via RLSID in IAM/RLS or IAM/PLEX startup parameters Data Set Ownership assigned by: Common Data set Name Table When defined with RLSID IAM CREATE Override When access with RLSID IAM ACCESS Override Default from IAM Global Options 49

IAM Advanced Services Record Level Sharing: IAMPLEX RLSGROUP: Refers to a group of related IAM/PLEX address spaces that form an XCF group that are able to directly communicate with each other IAM/PLEX address spaces assigned to an RLSGROUP by startup parameter RLSGROUP Any particular application address space (CICS region, batch job) can only access those IAM datasets that are being handled by an IAM/PLEX address space within a single RLSGROUP All member IAM/PLEX address spaces in an RLSGROUP will share the same System Logger XCF services are used to communicate to each IAM/PLEX address space within the RLSGROUP 50

IAM/PLEX RLSGROUP=IAMPLEX1 LPAR A LPAR B CICS A CICS B JOB 1 CICS C IAM/PLEX RLSID=PLXA XCF IAM/PLEX RLSID=PLXB DSN A DSN B L O G DSN C DSN D 51 51

IAM Version 9.2 Enhancements z/hpf I/O Architecture Support 64-bit Virtual I/O Buffers Enhanced I/O Error Information Includes full 32-byte sense data when available IAM WTO Message Enhancements Use of Multi-Line WTO messages for automated operations Split IAMW22 reasons into separate message numbers IAM/RLS and IAM/PLEX Support for VSAM RLS functions Enhanced IAMSMFVS Report GA: February 2015 52

IAM in Summary Transparently improves VSAM application performance Uses a simpler file structure, dynamic buffer management and caching Reduces physical I/O (EXCP s) by 40% to 80% Cuts CPU time by 20% to 40% Reduces elapsed processing times 20% to 60% Data Compression can save DASD space by 20% to 50% Provide Record Level Sharing across a SYSPLEX 53

Vendor Products that Use IAM Vendor Product Accero (CYBORG) Payroll American Software DRP ASG (Mobius) View Direct CGI CGI Advantage CSC Hogan, Cyberlife, Capsil CSI Bank Trade Fidelity National Systematics Banking Appl BASE2000, CSF First Data Vision Plus Fiserv Pep Plus, Mortgage-Serv Infor (GEAC) GL, AR, MSA, Millenium, Walker, Infopoint Deposits, Lawson JDA Compass Contract LRS Page Center LSI Popims MacKinney Software Jes Q Print Vendor Product McKesson (HBO) HealthQuest Pitney Bowes (Group 1) Finalist, Code1 MailStream Plus Retalix (NCR) Biceps, ABS SEA TRMS, SAVRS Serena Changeman ZMF Shaw Systems Collections Siemens Medical Systems Invision, Signature Sigma SAM (Student Aid Management) SunGuard (SCT) SIS+, HRS, FRS Empower Software (Tesseract) Payroll, HR, Benefits Trizetto Claim Facts, Group Facts VIPS Medicare Part B, SuperOP 54

Vendor Products that work with IAM DASD MANAGEMENT SOFTWARE: FDR/ABR (INNOVATION DATA PROCESSING) FDREPORT (INNOVATION DATA PROCESSING) FDRREORG (INNOVATION DATA PROCESSING) DF/SMS (IBM) DF/HSM (IBM) DF/DSS (IBM) CA ALLOCATE (formerly VAM) (CA) DMS/OS (CA) POOLDASD (BOOLE & BABBAGE) MAINVIEW SRM STOPX37/II (BMC) JOURNALING AND RECOVERY: FILE SAVE (CA) DRS (BMC) AR/CTL (BMC) CICS/VR (IBM) RRDF - Remote Recovery Data Facility (E-Net) PERFORMANCE MONITORS: OMEGAMON (TIVOLI) THE MONITOR TMON (ASG) STROBE (COMPUWARE) 55

Vendor Products that work with IAM MISCELLANEOUS PRODUCTS: FILE-AID (COMPUWARE) File Manager (IBM) ABEND-AID (COMPUWARE) CICS (IBM) CONNECT: DIRECT (IBM-Sterling) ISPF (IBM) NETWORK DATA MOVER (CA) (NDM) SELCOPY and SELCOPY/i (CBL Compute (Bridgend) Ltd) SHRINK (CA) SECURITY PRODUCTS: RACF (IBM) ACF/2 (CA) TOPSECRET (CA) PROGRAMMING LANGUAGES: VS/COBOL (IBM) COBOL II (IBM) FORTRAN (IBM) PL/1 (IBM) BAL (IBM) CA/OPTIMIZER (CA) SAS (SAS INSTITUTE) SHARING PACKAGES: IAM/PLEX (IDP) SHARE OPTION 5 (CA) SYSB (H & W) SORT PRODUCTS: SYNCSORT (SYNCSORT) DF/SORT (IBM) CA/SORT (CA) 56

Additional Resources Innovation Website: http://www.fdr.com IAM Product Page: http://www.fdr.com/products/iam FTP Login for Manual: http://www.fdr.com/ftp/ftp.cfm FREE Trial http://www.fdr.com/riskfreetrial Request Latest Version http://www.fdr.com/upgrade Support Email: support@fdrinnovation.com 57

Closing: IAM Improving Performance for VSAM Applications Richard Morse Innovation Data Processing rmorse@fdrinnovation.com 58

IAM is registered trademark of Innovation Data Processing Corporation. 59 15067 v2