proactive batch space abends handling on z/os with tivoli advanced allocation management

18
IBM Systems © 2015 IBM Corporation IBM zMiddleware IT Service Management Proactive Batch Space Abends Handling on z/OS with TAAM (Tivoli Advanced Allocation Management) Domenico Chillemi Executive IT Specialist [email protected]

Upload: nico-chillemi

Post on 22-Jan-2018

345 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

IBM zMiddlewareIT Service Management

Proactive Batch Space Abends Handlingon z/OS with TAAM

(Tivoli Advanced Allocation Management)

Domenico ChillemiExecutive IT [email protected]

Page 2: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

2

The allocation issue with z/OS batch processing

TWS for z/OS Current Plan must be completed on time every day – Normally batch processing is supposed to end on time in order to fit service

level agreements

What happens to Plan completion if affected by allocation issues?– It can easily happen that some batch jobs end in error due to space

unavailability

– Often this is due to wrong batch application settings

– Successors of these jobs cannot start and the plan remains uncompleted

– Automation can try a restart, but if space is not available these jobs still end in error

– TWS Automatic Job Recovery can be used, but does not solve the permanently the problem

– Multiple and unuseful runs cause higher CPU consumption

It would be nice if batch space issues could be proactively managed

Page 3: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

3

Introduction to the issue solution Space related abends Sx37

– Are a very common situation in batch processing– Have a very disruptive impact for Service Level Agreements and deadlines

Here is a non-exhaustive List of Typical Error Situations:1. Amount of Primary Space asked for is not available

2. Secondary Space is needed but not defined

3. Amount of Secondary Space asked for is not available

4. The current volume is out-of-space and more volumes are needed

5. Set rules for the allocation of space on the additional volumes

6. Duplicate Catalog Entry

7. Dynamic PDS members directory increase

TAAM works with a rule-based mechamism:– Set the default handling rules for the enabled error situations– Define up to 30 filters for datasets to be intercepted by TAAM

• With individual handling rules and overrides of the defaults

High productivity when TWS and TAAM work together

Page 4: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

4

Feature 1: primary space reduction

Purpose: reduce primary allocation if it would cause an x37 abend

TAAM can reduce the value to a certain limit, in several steps

* Defaults if not overruled at selection timeDEFAULTS PRIM_REDUCE=ENABLE PRIM_REDUCE_LIM=50 * Reduce until 50% PRIM_REDUCE_INC=10 * Reduce by 10% until limit* Reduce with 5% for Storage Class SC14 and if first* qualifier of DSN is „NDV“ INCLUDE STORCLAS=SC14 DSNAME=NDV.* PRIM_REDUCE_INC=05

Page 5: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

5

Feature 2: definition of a missing secondary allocation

Purpose: allocate a secondary allocation if its absence would cause an x37 abend

TAAM can define a secondary allocation, in function of the primary

* Defaults if not overruled at selection timeDEFAULTS SEC_ALLOC=ENABLE SEC_ALLOC_AMT=40 * Sec = 40% of Prim * Override for STEPNAME CA11 INCLUDE STEPNAME=CA11 SEC_ALLOC=DISABLE * Override for jobs with RACF Group ID ADMININCLUDE GROUPID=ADMIN SEC_ALLOC_AMT=99

Page 6: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

6

Feature 3: secondary space reduction

Purpose: reduce secondary allocation if it would cause an x37 abend

TAAM can reduce the value to a certain limit, in several steps

* Defaults if not overruled at selection timeDEFAULTS SEC_REDUCE=ENABLE SEC_REDUCE_LIM=10 * Reduce sec until 10% SEC_REDUCE_INC=10 * Reduce sec by 10% until limit* Reduce until 25% for Storage Class SC78* and if Job Name starts with „P“ INCLUDE STORCLAS=SC78 JOBNAME=„P*“ PRIM_REDUCE_LIM=25

Page 7: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

7

Feature 4: addition of additional volumes

Purpose: add a new volume when the current volume is out-of-space

TAAM can direct the allocation to a certain group of volumes

* Defaults if not overruled at selection timeDEFAULTS VOL_ADD=ENABLE VOL_ADD_LIMIT=3 VOL_ADD_VSER=(DASD01,DASD02,DASD03,DASD04)* For datasets in Storage Class SCMV, use volume group VGMV* A group is defined in another TAAM rule memberINCLUDE JOBNAME=SAP* VOL_ADD_VGRP=(VGMV)

* Define the group GROUP_NAME=VGMV VOLUMES=(MVL*)

Page 8: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

8

Feature 5: definition of space on additional volumes

Purpose: set the size of the primary allocation when a new volume is used

TAAM can set the values for the allocation on the new volume

* Defaults if not overruled at selection timeDEFAULTS PRIM_REDUCE=(,ENABLE) PRIM_REDUCE_LIM=(,10) * Reduce size on new vol until 10% PRIM_REDUCE_INC=(,10) * Reduce on new vol by 10% until limit* Reduce with 25% for Storage Class SC78 and DSORG is not PO* until 50% of value on first volume EXCLUDE DSORG=PO STORCLASS=SC78INCLUDE STORCLASS=SC78 PRIM_REDUCE_LIM=(,50) PRIM_REDUCE_INC=(,25)

Page 9: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

9

Feature 6: Duplicate Catalog Entries

Purpose: handle duplicate dataset names (NOT CATLGD 2 Management)

TAAM has different ways to support this: do nothing - scratch the old one - uncatalog but and keep the old one – deletion of the older data set to make unique the last allocated one

– force of JCL error when a duplicate allocation happens

* Defaults if not overruled at selection timeDEFAULTS NOTCAT2=JCLFAIL NOTCAT2_CHECK=STEPTERM* Scratch existing datasets for Storage classes SC21 ZC21INCLUDE STORCLAS=*C21 NOTCAT2=SCRATCH* Uncatalog existing dataset if first qualifier is „P“ INCLUDE DSNAME=P.* NOTCAT2=UNCATALOG

Page 10: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

10

* RULE DEFINITIONS* Default settingsDEFAULTS PDS_DIR_INC=ENABLE

* Item to include in processingINCLUDE JOBNAME=ABCJOB1

* Disable automatic PDF increasePDS_DIR_INC=DISABLE

Feature 7: dynamic PDS directory increase

Purpose: increase partitioned directory blocks when not available– Avoid to use offline IEBCOPY to allocate a PDS with more directory blocks

TAAM can increase automatically the space for PDS directory when needed

Page 11: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

11

Tivoli Advanced Allocation Manager Architecture

Runs as a started task

Sets intercepts (hook points) into allocation and end-of-volume during production initialization

Basic product-control options are specified in a PDS control member called an OPTIONS member

“What to process" and "what to do" are specified in a PDS control member called a RULEDEFS member

User can communicate with product through supplied ISPF dialog or supported operator commands

Overview statistics can be viewed via the dialog

Detailed statistics can be obtained and reported by requesting SMF recording and reporting on them using a supplied reporting utility

Multiple instances of product can be run on an MVS image together

Page 12: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

12

Minor functions available in TAAM Storage related functions

– Reduce the size of the secondary extent to the largest available on the volume

– Write an End-Of-File marker on newly allocated datasets

– Release unused space when closing a dataset

– More …

System related functions

– Trace and diagnose the logic that leads to the applied rule

– Configure message handling

– Check syntax of rules before their activation

– ISPF interface• Enables/Disables TAAM• Activation of new rules• RACF integration• Statistics• SMF logging of TAAM actions

• SMF detailed reporting

– Console commands

Page 13: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

13

Primary Panel of TAAM

Page 14: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

14

TAAM Statistics

Page 15: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

15

TAAM Audit Trail

Page 16: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

16

TAAM is TEP enabled

Page 17: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

17

Useful Material

Support Pagehttp://www-03.ibm.com/software/products/en/tivoadvaallomana

Informationhttp://www-01.ibm.com/common/ssi/ShowDoc.wss?docURL=/common/ssi/rep_sm/5/897/ENUS5697-P35/index.html&lang=en&request_locale=en

IBM Publicationshttp://www-01.ibm.com/support/knowledgecenter/SSFLUS_3.3.0/com.ibm.advancedallocationmgt.doc_3.3/welcome.html

Page 18: Proactive Batch Space Abends Handling on z/OS with Tivoli Advanced Allocation Management

IBM Systems

© 2015 IBM Corporation

zMiddleware ITSM

18

Thank You