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

CA CIS CA Common Services for z/OS CA 90s Services CA Database Management Solutions for DB2 for z/OS CA Common Product Services Component CA Common Services CA Datacom/AD CA ecoMeter Server Component FOC CA Easytrieve Report Generator for Common Services CA Infocai Maintenance CA IPC Unicenter CA-JCLCheck Common Component CA Mainframe VM Product Manager CA Chorus Software Manager CA On Demand Portal CA Service Desk Manager - Unified Self Service CA PAM Client for Linux for zSeries CA Mainframe Connector for Linux on System z CA Graphical Management Interface CA Web Administrator for Top Secret CA CA- Xpertware CA Dynam for VSE CA Dynam VSE Option CA Vollie DEVELOPMENT ENVIRONMENT

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: