Code to prevent Allocate from taking action on volumes
search cancel

Code to prevent Allocate from taking action on volumes

book

Article ID: 201261

calendar_today

Updated On:

Products

Allocate DASD Space and Placement

Issue/Introduction

I need you to provide me the code that would be added to exclude a mask of volumes from being managed by Allocate.  For example, our software team indicated that Allocate added extents to the SYS1.NUCLEUS dataset that caused an issue with the IPL of the system.  We now want to exclude the SYSA** volumes to prevent Allocate from taking this type of action on any dataset allocated to this mask of volumes at a future date.  What member would I update to add the code to prevent Allocate from performing this type of action on any SYSA** volume.  

Environment

Release : 11.5

Component : CA Allocate DASD Space and Placement

Resolution

Add the following to your Allocate ASR:

IF &ANYVOL EQ SYSA* THEN
 DO
WRITE 'NOT TOUCHING &DSN WHICH IS ON A SYSA VOLUME'
  EXIT CODE(0)
 END
IF &ANYVOL EQ SYSB* THEN
 DO
WRITE 'NOT TOUCHING &DSN WHICH IS ON A SYSB VOLUME'
  EXIT CODE(0)
 END
*
This will exclude SYSA* volumes and SYSB* volumes from being processed.