I need to update one Dynam pool out of the COMPOOL record. What is the best way to do that?
search cancel

I need to update one Dynam pool out of the COMPOOL record. What is the best way to do that?

book

Article ID: 52676

calendar_today

Updated On:

Products

CIS COMMON SERVICES FOR Z/OS 90S SERVICES DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services Datacom/AD CA ECOMETER SERVER COMPONENT FOC Easytrieve Report Generator for Common Services INFOCAI MAINTENANCE IPC UNICENTER JCLCHECK COMMON COMPONENT Mainframe VM Product Manager CHORUS SOFTWARE MANAGER CA ON DEMAND PORTAL CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET Xpertware Dynam for VSE Dynam VSE Option Vollie

Issue/Introduction

Description:

The CA Dynam COMPOOL record may contain many virtual volumes or POOLs. To delete or update only one such record without affecting the others, care must be taken! The CACCDBU0 utility DEFINE statement used with DUPREC(DELETE) will remove the entire COMPOOL record, and add only the one being defined. To remove only one POOL, use DELETE.

Solution:

These CACCDBU0 control statements illustrate what happens.

DEFINE with DUPREC DELETE
 
// EXEC CACCDBU0
DEFINE COMPOOL CPU(*)       -
   ROTATE(YES) POOLID(POOL01) -
   DUPREC(DELETE)  -
   MEMBERS(TMPWK2,1,EOV)
/*

will delete any existing pool and will create the new one.

So DEFINE with DUPREC(DELETE) will delete the entire COMPOOL record.

DELETE COMPOOL and DEFINE with DUPREC APPEND
   
// EXEC CACCDBU0
DELETE COMPOOL CPU(*)       -
             POOLID(POOL01) -
             REFRESH(YES)
DEFINE COMPOOL CPU(*)       -
   ROTATE(YES) POOLID(POOL01) -
   DUPREC(APPEND)  -
   MEMBERS(TMPWK2,1,EOV)
/*

This command will ONLY delete the POOL01 from the COMPOOL and will not touch the other COMPOOL records. It will than add the new (updated) pool POOL01 into the COMPOOL record.

Environment

Release: DYNAM.001AO-7.1-Dynam/D-Disk Management
Component: