Previous Topic: Assign a Change Log to a File

Next Topic: Buffer Pools

Assign a File to a File Group

To assign a file to a file group, specify the GROUP parameter with the ADDFILE command, where id is the group ID of the file group. If the file group does not exist, it is automatically defined.

ADDFILE ddname GROUP(id)

For example, to place the CA Bundl file DPMFSIF (dsname BUNDL.V47GA.DPMFSIF) under the management of CA-L-Serv, assign the file to LSR buffer pool 3, assign it a change log named BNDCHG3, and assign it to file group BNDGRP3, issue the following command:

ADDFILE DPMFSIF BUNDL.V47GA.DPMFSIF GROUP(BNDGRP3)
        LOGID(BNDCHG3) POOL(3)

Note: Pool 3 and change log BNDCHG3 must be defined prior to issuing the above command. Group BNDGRP3 is automatically defined by the above command.