1.12. Processing a VSAM cluster

Before we cover how to process a VSAM cluster it is recommended that you have an idea about the source of VSAM processing options. Refer to “Major sources of VSAM processing options” on page 233.

To process a VSAM cluster the following actions must be executed:

  • Allocate the data set to establish the logical link between a program and a data

  • Open the data set, identifying it with a DDNAME.

  • Accessing data through GETs and PUTs using an access method.

  • Close the data set.

  • Unallocate the data set.

Following is a brief discussion of the VSAM processing actions.

1.12.1. Allocating a VSAM cluster

First, we want to differentiate between data set allocation and data set creation. The expression allocate a data set does not ...

Get VSAM Demystified now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.