This article describes how to resize native VSAM files that are defined to an IDMS CV.
Release: All supported releases.
A native VSAM area, even in IDMS, is first and foremost a native VSAM file. All that is done in IDMS is define a segment/area/file set up to tell IDMS the physical attributes of the native VSAM file. There must be at least one record in the dataset. Don't change the CISIZE of the VSAM-files during this process, since its size corresponds to the page size of the IDMS buffer for that file.
The complete way to resize (enlarge the file) is the following:
In the event that the file is being reduced in size and the change is to be done without cycling the CV, the following steps are sufficient:
DCMT VARY AREA area-name OFFLINE
DCMT VARY FILE file-name DEALLOCATE
*NOTE: It is not possible to vary all native VSAM files DEALLOCATE with DCMT V SEGMENT. They must be varied separately with DCMT VARY FILE.
Perform the necessary VSAM steps (DELETE/DEFINE/REPRO)
DCMT VARY AREA area-name ONLINE