Buffer assignments for native VSAM files

Document ID : KB000118854
Last Modified Date : 02/11/2018
Show Technical Document Details
Introduction:
This article discusses best practices for assigning buffers to native VSAM files defined to a CA-IDMS CV.
Background:
When defining native VSAM files to IDMS, there are definitions made in the schema and DMCL similar to a normal IDMS database, including buffers.
However these definitions exist only to tell IDMS the nature of the VSAM file.
The buffering is not done in IDMS.
The buffer definitions in IDMS for native VSAM files are there only so that IDMS can construct the appropriate calls to VSAM.
The call is passed to VSAM and the buffering is maintained there.
 
Environment:
CA IDMS, all supported releases.
Instructions:
There are two types of VSAM buffers - LSR (local shared resources) and NSR (nonshared resources).
There can only be one LSR buffer defined in an IDMS CV.
Low activity native VSAM files should be assigned to that LSR buffer.
High activity native VSAM files should each be assigned to their own dedicated NSR buffer, except that when multiple IDMS files are mapped to the same native VSAM area definition, they must be assigned to the same buffer, otherwise the DMCL compile will fail with DB004063.
Additional Information:
Considerations for Native VSAM Files
BUFFER Statements