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
Codes to exclude a mask of volumes (ex: SYSA**) from being managed by Allocate.
Environment
Release : 11.5
Component : 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.
Feedback
thumb_up
Yes
thumb_down
No